This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Display logic
Started 10 years ago by fuscow | 3 posts |
-
I need some special logic so that a number of fields will show up depending on a numeric entry.
For example the form asks:
How many pets do you own?
you enter 3
now 3 name fields appear for your pets names.OR
How many pets do you own?
you enter 6
now 6 name fields appear for your pets names.Ideas?
Posted 10 years ago # -
Hi fuscow - is there an upper bound to the numeric entry?
If there isn't, then i do not think there is anything straight-forward that can be done with the current version of MachForm.
If there is an upper bound, then (in theory) you could create a form with the max number of fields, and then using a custom php page use it to invoke the form with specific CSS that will hide the "extra" name fields.
Just a thought.
Posted 10 years ago # -
@fuscow: If you don't mind having a limitation on the maximum number of pets that can be registered, you can use conditional logic to get the results you want. Take a look at the online Machform demo for an example:
http://www.appnitro.com/demo/view.php?id=7
To see how this form was created, go to the demo form manager:
Look for the form "Workshop Registration" tagged "conditional logic demo".
Posted 10 years ago #
Reply
You must log in to post.