Forum

Thread tagged as: Forms

Repeating form

Can the form app be integrated with a repeating set of form fields created with Jquery?

The use case is for a quote form that has a set of questions that the user can 'add another' to repeat the same set of questions for unlimited items.

James Curran

James Curran 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

When you submit a form, Perch looks for the fields that are declared in the form template. Anything that isn't in that template is discarded.

If what you're describing was possible, it would also be possible for a spammer or attacker to post any amount of data to the form and have the system accept it. That would be really bad.

Thanks Drew.

Would that be solved with a capcha field?

The customer is asking for a form that allows the user to add 2 custom measurements for an unspecified number of items. E.g.:

Window 1 Window Type Width XXX Height XXX Add Another

Window 2 Window Type Width XXX Height XXX Add Another…

Drew McLellan

Drew McLellan 2638 points
Perch Support

A captcha won't help because Perch only looks for the fields that are declared in the form template.