Fix Incomplete Form Lead Data
If form leads in WhatConverts are missing data, it is usually because WhatConverts is capturing a submission before the user has fully completed the form. WhatConverts processes a form submission as soon as it detects at least one value being sent, which means incomplete submissions can be recorded if your form fields are not properly validated.
Form fields are missing required attributes
Without required field validation, WhatConverts cannot determine whether a form is ready to be submitted. If a user submits an incomplete form and is prompted to go back and fill in missing fields, WhatConverts may capture two separate leads from the same user: one incomplete and one complete.
How to implement required field validation
To troubleshoot this issue:
- Open your website's HTML and locate the form fields that should be required before submission.
- Add one of the following validation attributes to each required field:
- Standard HTML5 required attribute: <input name="first_name" type="text" required>
- Class attribute with a required value: <input name="first_name" type="text" class="required">
- Aria-required attribute for accessibility: <input name="first_name" type="text" aria-required="true">
- Test the form by attempting to submit it with empty required fields and confirm the form prevents submission until all required fields are completed.
- Submit a complete test lead and verify that only one lead appears in your WhatConverts Lead Manager with all expected field data present.
Related Topics
Get a FREE presentation of WhatConverts
One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.
Schedule a Demo