Making a contact form work better on mobile
People need to know what happened to their message after pressing submit.
Put essential fields first and keep their labels visible. If validation fails, identify the affected field and preserve what the visitor already typed.
Show a clear confirmation once the message is saved. Keeping the enquiry in the admin panel lets staff find it if the notification email fails.
Worked example
An email address and message are usually enough for first contact. A phone number can stay optional for people who prefer a call.
How to test it
On a phone, submit an invalid email address. Correct only that field, resubmit and check the enquiry in the admin panel. Repeat with a double tap.
Expected result
The message survives the validation error, a successful save is confirmed and a double tap creates no duplicate.