Using phpformgen I have now created some forms for my site http://www.windsurf.me.uk/Links/links2.html [1]
When you enter data in your selected form this then creates a pointer on a google map displaying the location and some info regarding that point, all read from the database.
Unfortunately the longitude and latitude fields are causing problems for users. Users are ignoring the instructions on how to enter this data in decimal form and are entering it in other forms.
I would like to add some error trapping to the form. It should be quite simple. For longitude the range is -180.00 to 180.00 and for latitude -90.00 to 90.00 so a simple if statement should do it but I cannot seem to work out how to do it.
The form can be found here.
http://www.windsurf.me.uk/Forms/form285/ [2] with the importand bits bein form.html and confirm.html
Any ideas