I have a PHP contact form, with a simple submit button. What i want to do is once the user has clicked submit, add a function which greys out all text boxes within the form.
Or the form disappears altogether so i can place a label on the page to say its been completed. Is there anyway to go about this without the use of javascript or jquery?
Currently the code for the submit button is:
<input type="submit" value=" Continue " style="width:200px;height:40px">
which uses the PHP post method.
Upon submission, the values should be posted to the PHP script. You can then implement a method of checking if the user’s value has been accepted.
At the top of your code, implement the method that is being used to save the input: