Skip to main content

Return to TX Community

Liaison

Using Double Entry Verification in Form Assembly

To create a verification field:

  1. Create two text fields next to each other in the form (generally labeled something like "XXXX" and "Verify XXXX").
  2. Save the form and exit your list of forms.
  3. Click your form, then click the "Publish" tab.
  4. At the bottom of the page, click the Show how to prefill form data dynamically link.
  5. Scroll down to the table in the "Parameter list" section. Locate the questions you wish to verify in the left column.
  6. In the "Field Name/Option Value" column, note the numbers (disregard the "tfa_") for the two fields you wish to compare.
  7. Return to the form and click Edit.
  8. In the form builder, go to Properties > Custom Code.
  9. Enter the following code (substituting in the numbers you noted in Step 6 for the "1" and "2" ):
<script type="text/javascript">
$(document).ready(function() {
verifyFieldMatch(1,2) ;
});
</script>
  1. Click Apply, then click Save.

Note: If you wish to have multiple verification fields on the same form, add another verifyFieldMatch(#,#); underneath the existing one using the numbers associated with the appropriate fields).

  • Was this article helpful?