Call in a form segment, rather than build out sections over and over again
TAC Victoria
It would be great to be able to build out a form segment and call it in to a form as required.
For example, we have forms where the user may need to add in the details of family members. For each family member there are a number of fields - name, date of birth, phone number, address etc
After adding in the first family member user can choose to 'Add another family member'. At this point we'd like to be able to use conditional logic and simple call in the same fields that were used for family member 1.
At the moment this isn't possible, so we need to build out the whole section again... and again... and again...
This type of functionality has many use cases, could be used for any situation where conditional logic is applied and user has the option to add more information to the form. Some of the forms we are building have theoretically no cap on the amount of extras a user may want to supply. Manually building out a static amount that are only used if conditional logic is triggered is time consuming and makes forms in the system incredibly long and complicated.
I see this working as building a form for, in this example all the fields required to collect information about 'family members' and then using conditional logic to call that form into the main form as required. E.g. If user selects 'Yes' to add a family member, call in the 'family members' form.
TAC Victoria
Thanks Brendan - we do use field tables for simple data collection, as in your example. It works really well when asking for 3-5 data points (e.g. first name, last name, email). But we have ore complex requirements where we may collect a dozen or more data points and field tables don't handle that as they are limited to one row.
We're exploring whether custom css could help.
But the ability to build out a 'mini-form' that could be called into the main form as required would make this much easier.
Or, more customisation for a field table, so that formatting and layout are achievable. Could a field table be developed so that a block of questions can be added over multiple rows?
Cheers, Justin (TAC)
B
Brendan Halloran
I think you can do what you're asking for though the Advanced Forms product in the DXP, using the "Field table" feature:
Here is an example i have whipped up: