Hi everyone! I’m hoping you can help -
I currently have a form - Hotline.php
The form contains multiple fields to include text, textarea, options, and checkboxes. There are three required fields. When a user tries to submit the form (submits to itself) and they are missing the fields, the error message displays at the top of the page.
What I would like to have happen after the validation and the displaying of the error message, is that the form reload the data that was initially part of the submission.
I’ve tried setting the values of the input fields to the PHP value. Example:
[php][/php]
This worked well for input text types, but I don’t know how to do the same with checkboxes, drop-down lists, or text areas.
If there is another, better and/or easier way to accomplish this, please let me know!