Simple form: Submit to same page, see here onSubmit E.g. onSubmit=”return capCheck(this);” means call the javascript function called capCheck PHP Handle Form
Category: Forms
Checkbox(1)
Example Forms(2)
Files(1)
Input Box(1)
Issues(1)
Radio Buttons(1)
Raw html(1)
reCAPTCHA(3)
Select Box(1)
Styling(1)
Submit(2)
TextArea(1)
Array Values
Creating a field that will give an array when submitted Form element Form handler
Auto select element when page loads
To automatically set the focus to a specific control when the page loads use autofocus, e.g.
Date input fields
Supported by some HTML5 browsers which will display a date picker datetime db field from date picker When handling form submission In the form
Emulate a form submit in php code
Use curl as shown here: https://ibex.tech/cloud/php/curl/curl-get-request
Hidden
Refresh after form POST
This is a solution to the problem of pressing refresh after posting a form causing a "resubmit form information message box" for the user. This simply causes the page to reload and can be placed after handling the POST actions if ( isset($_POST[‘action’])) { //—– AFTER ANY POST RELOAD THE PAGE SO REFRESH CAN BE USED —– […]