Validating the forms at the browser will give a more responsive interface and a way to display errors alongside the relevant fields.
Since validation rules would be different for cloud or local operation, it should probably be isolated to a separate script. There should be a way to do identical validations at the server, to handle misbehaving browsers.
Validating the forms at the browser will give a more responsive interface and a way to display errors alongside the relevant fields.
Since validation rules would be different for cloud or local operation, it should probably be isolated to a separate script. There should be a way to do identical validations at the server, to handle misbehaving browsers.