In Form Field Manager, have a parent/child hierarchy for field visibility
under review
Alex Coleman
As a site owner, I would like Form Field Manger fields to have a parent/child hierarchy for visibility.
Example:
- Have two "top level" fields: Field 1 and Field 2
- Field 1 has two choices: Yes/No
- Field 2 is set to display IF field one is YES.
- Field 2 also has two options: YES/NO
- Field 2 has "child" fields that conditionally display depending on Field 2's option.
- All child fields of Field 2 should be hidden if Field 2 is hidden, no matter what Field 2's option is set to.
D
David Work
Yes, I have a form with up to 5 sections (children in school), conditioned with a checkbox “Add Another Child?”. In my testing, the form wasn’t totally consistent in how it displayed. What I can describe is this:
Setup: Each child consists of Homeroom Teacher, Grade, and a checkbox to add another child.
1) If I check “Add Another Child?” And then fill in some fields in the next section, and then go back and uncheck “Add Another Child” win the previous section, it retains the value I selected … and it looks like the selection is retained and displayed whenever the values from the form are displayed later.
You identified this issue in your video with your “hidden” field.
While you might give users of a donation site credit for not being confused, I don’t. IMO if the visibility condition for a field is not met (in my case, if “Add Another Child?” Is unchecked), the field value should be reset to it’s default value or the condition referenced when field values are displayed.
2) It would be immensely helpful if it was possible to have multiple conditions. In my case:
Child One. Another child?
If yes, then
Child Two. Another child?
if Yes, and if Child One’s another child is Yes, then
Child Three. Another child?
if Yes, and if Child One’s another child is Yes, and if Child Two’s. Another Child is Yes, then
Child Four… a
and so on
In the Real World of forms, multiple conditions are extremely useful : "If A or B” or “If (A and B) or C” are both common conditionals in WP forms plugins. I’m familiar with Piotnet and WSForm, both of which have well developed conditionals. I hope you’ll consider it.
Ben Meredith
under review
I made a quick screencast showing that this functionality is pretty much already there, though it could possibly use some refinement. View that screencast here: https://screencast-o-matic.com/watch/c3hFFiVrv5t
We're certainly open to refining that further, but would need some more votes and context to justify it being a real need.