I have a "if other, please specify" type field that I want hidden on page load. I can get it to appear or disappear on dropdown select event, but when I set "Load state" to "Hidden" (or any other option for that matter), it doesn't make a difference when testing the form. It does not hide the field. Is there an additional setting I need to apply or something? Thanks.
Forums
Load state not working in form
Hi Chris,
What's the field type ? and could you please send a link to the form ? I have just tested it here and it works fine!
Regards,
Max
What's the field type ? and could you please send a link to the form ? I have just tested it here and it works fine!
Regards,
Max
The form in its current status is located at http://test.forthegrillofit.com/quote. This web site and form are both in unfinished status right now. The fields I am referring to are "Event Type" and "If 'other,' please specify:" and obviously the "if other" field is the one I have set to the "Hidden" load state. You can play with the selection of the "Event Type" field to see it disappears when an option other than "Other" is selected and reappears when you do select that option, so that part works fine. Thank you for your help!
This probably happens because your form name has spaces in it, this is wrong, please remove the spaces and test it again!
Regards,
Max
Regards,
Max
Thanks Max, it definitely made a difference. When I load the form now (having removed the spaces in the form name setting), the text field is hidden. Is there a way to make the label hidden with it also? It kind of defeats the purpose for me to have the label there with no text field; I need the label gone with it too; otherwise it just causes unneeded user confusion.
To fix this and make the textfield and the label (essentially the row), I've had to load jquery hide() functions on document ready; there's got to be a better way than this to hide the label too with the textfield when the HTML renders.
One of the "Load state" choices is "Hide parent" which hides the whole field row and its contents including the label!
Regards,
Max
Regards,
Max
Okay, super. I just forgot to try that option after trying all options before I removed the spaces in the form name and got it working. Thanks for your help.
This topic is locked and no more replies can be posted.