I have a small contact form created in HTML5 with client-side validation using 'js-webshims'. This form is processed via php on the server. However, I do not have server-side validation. Only client-side validation through HTML5.
My question: Can I only do client-side validation with HTML5 and the 'js-webshims' polyfill or do I need to also do server-side validation?
Thank you.
Ideally, you will want to do validation on both sides. Client side so the user knows if what they are submitting is valid, and server side so you can process it before putting it where it needs to go.
Use this as a rule of thumb though... if it is client side, the client can change it before submission.