Allowed for client side validation of phone number and zip code to be turned off.

The server side validation can be turned off but the setting did not affect the javascript validation.

Fixes #4510