Search This Blog

Tuesday, October 2, 2012

Hiding form fields "on the fly"

Sometimes it would be nice to show or hide a field depending on some conditions. For example depending on value of other field. Typical situation is when you have a drop down list with various choices but last one is "Other". When user chooses this option it is nice to show a field to let her/him type what "Other" really is.

And a good news is that from version 1.8.5 you will have such option. There two new functions:
HideField("fieldname")
and
ShowField("fieldname")


So you can use automatic rule to show or hide fields.

Note: To make it work well automatic rules are now also fired just before showing a form.



No comments:

Post a Comment