Your software My PHP version is : 8.0.23 My MariaDB version is : 10.6.10-MariaDB-1:10.6.10+maria~deb11
Your question My question is :
I am integrating forms into website so people can contact us. I would like to validate the values that people can send.
For example I am using form where a person can enter a domain name.
I would like to validate that the domain name is in the right format for example example.com is a valid domain name examplecom is not a valid domain name.
I also have one form where a person enters a number as a value. I would like to limit the values to only positive number up to for example 1000. Invalid value would be -10 valid value would be 0, 10, 1000.
Thanks for the response. I have a hard time finding “field validation”. Can you post a screenshot where to do this or it’s just custom code?
Validation is only required nothing more. Maybe I am missing something.
This kind of works. I have a problem now because I have multiple “Page break” and it will let you go next page without any warning and then you won’t be able to submit but you won’t know why. Is there any way to show validation messages and not let the page break to the next page when the values are not valid?