I'm a little confused when you say the callbacks are failing when the form has not yet been created? How come your callbacks are running before your form is created? When I have done this for my forms, I set the form fields this way:Originally posted in cdnusers.org by dmay
?value envGetVal("customTool" "varName")
?buttonText "My Button Text:")
0:0 100:30 0)
Then my callback for the form sets all the variables using envSetVal. I could put a callback for each field if I wanted to. In either case, though, my form already exists before a callback is ever invoked.