S
SS
Guest
How do I set instantiate a form with default values without displaying
the form?
I have a form "myform" and the form field myformfield is a field
inside myform.
the default value of myformfield is set to '0'.
However the form "myform" does not get instantiated after the code is
loaded. If I try to explicitly specify the value of
myform~>myformfield~>value = something. I get an error unknown vairable
- myform
Unless I run the code to display the form, "myform" is not
instantiated. Is there a way that I can instantiate the myform without
the form being displayed.
thanks,
Sriram
the form?
I have a form "myform" and the form field myformfield is a field
inside myform.
the default value of myformfield is set to '0'.
However the form "myform" does not get instantiated after the code is
loaded. If I try to explicitly specify the value of
myform~>myformfield~>value = something. I get an error unknown vairable
- myform
Unless I run the code to display the form, "myform" is not
instantiated. Is there a way that I can instantiate the myform without
the form being displayed.
thanks,
Sriram