You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to find a simple web form validation example using Opis JSON Schema. The examples from Opis JSON Schema show the input data to be always in a JSON format.
I wrote this code below which is a simple form, however when I submit the form I get an error, The data (string) must match the type: integer
When I comment out the $_POST input and uncomment the manual input, it does work by I get no errors, but I am unable to use the form to submit the data.
How would one grab form data and process it for Opis JSON Schema is a simple clean way?
I was unable to find a simple web form validation example using Opis JSON Schema. The examples from Opis JSON Schema show the input data to be always in a JSON format.
I wrote this code below which is a simple form, however when I submit the form I get an error,
The data (string) must match the type: integer
When I comment out the $_POST input and uncomment the manual input, it does work by I get no errors, but I am unable to use the form to submit the data.
How would one grab form data and process it for Opis JSON Schema is a simple clean way?
Any help will be most appreciated!
PHP code
JSON code
The text was updated successfully, but these errors were encountered: