Match form by hidden ID field

Many CMS' generate forms that have a hidden ID field to identify the form upon submission, and sometimes do not have a completely unique identifier within the <form> element. Mapping conditions can be used to handle this.

Form identifier

A form identifier that uses an attribute directly present on the <form> element is always required. Choose the most unique possible, for example the action attribute:

<form action="/umbraco/surface/contactformsurface/SubmitForm" method="post">

This will restrict the available mappings for incoming form submissions as far as possible, and the Condition will be applied to limit which submissions are processed.

Conditions

Determine the unique field name and value.

This field should be consistent for all submissions of the same form, but should identify the form uniquely from others. Choose carefully!

Add a Condition that checks for the value of the hidden field. The mapping will only be processed for submissions where this value matches.

Â