I have a site that uses a form on which I have chosen to validate certain fields (Email etc.), this seems to be working fine as when I use it, it won’t let me submit it unless these fields are filled in. The information is sent to salesforce.com.
My client has told me that she has received some contacts in her salesforce crm that dont have email addresses.
I have tried it in Safari and Firefox and it’s working perfectly - does anyone know if any other browser ignores validation fields in forms.
You are using JavaScript to validate the form. Some people browse with JavaScript turned off.
If you really want to enforce the completion of certain fields, using PHP is the way to go. You could have anything from an error page that tells them they didn’t fill out certain fields and go back to try again, to something that returns them to the form with the fields they missed highlighted and a message to complete those fields.
Even with Javascript disabled in Firefox & Safari, there are still warning displayed and the form doesn’t get sent. I will have to test this in IE too.
You are using JavaScript to validate the form. Some people browse with JavaScript turned off.
If you really want to enforce the completion of certain fields, using PHP is the way to go. You could have anything from an error page that tells them they didn’t fill out certain fields and go back to try again, to something that returns them to the form with the fields they missed highlighted and a message to complete those fields.