Form Sends But Still Shows Error Message
Form sends but still shows error message
Follow these steps if your Form module shows an error message even when the form submits successfully in Divi 5.
Why this happens
This usually happens when the email sender value cannot be resolved from your form field mapping, even though submission processing itself succeeds.
Step 1: Add a field ID to the email field
In the Field options of the Email field, add a Field ID (e.g. email or sender_email). Use a value that is unique on the form.
Step 2: Use the same ID in sender email
In the Email Confirmation (or relevant email) section of the form, set the Sender Email to use the same Field ID so the plugin can resolve the sender address from the submitted email field. For example, use the token that corresponds to that field ID so the correct value is used.
After saving, submit the form again. The success message should display when the email is sent successfully.
Verify the fix
- Submit with a real email value.
- Confirm success message appears.
- Confirm the message arrives and the sender address matches the submitted field value.
Related fixes
- If no emails arrive at all, continue with Troubleshoot email delivery issues.
- If emails arrive but formatting is broken, see Troubleshoot HTML email template issues.
What's Next
- Troubleshoot email delivery issues - Resolve inbox delivery problems after submit.
- Troubleshoot HTML email template issues - Fix malformed email output and template formatting.
- Form settings - Confirm sender and notice settings are aligned with field IDs.