- sjckAsked on July 22, 2016 at 03:51 AM
I'm creating a transport claims form that will allow users to choose a) single claim or b) multiple claims.
If the user chooses multiple claims, user will enter ## of claims and the same group of 8 fields should appear X ##.
So if user enters 5, there should be 5 sets of 8 fields for user to fill up.
Hopefully somebody understands what i'm trying to do here.Page URL:
- BorisAnswered on July 22, 2016 at 06:41 AM
We cannot have a random amount of multiple claims, since regular form fields must be created in advance. This means that with regular form fields, you would create all the fields for the maximum amount of multiple claims you are looking to receive, such as perhaps up to 10 multiple claims per form.
However, we do have some widgets that allow for a random amount of rows / claims to be entered, such as our Configurable List widget or Infinite List widget. The following guide explains how to add a widget to your form:
And the following guide provides some more details about how you can set up the Configurable List widget:
While allowing a random amount of possible claims to be collected, these widgets unfortunately cannot be used inside calculations, so if you were intending to perform any calculations based on the claims that are entered, then you would have to use ordinary form fields instead of the widgets.
With ordinary form fields, you can duplicate multiple fields easily by following this guide:
With our conditional logic, you can also use Show Multiple conditions to show multiple fields, based on the number of claims your your users have selected:
Please let us know how it goes, and whether any of these two methods will work to your satisfaction.