Title: Client Side Validation
Last modified: August 31, 2016

---

# Client Side Validation

 *  Resolved [carver1g](https://wordpress.org/support/users/carver1g/)
 * (@carver1g)
 * [10 years ago](https://wordpress.org/support/topic/client-side-validation-2/)
 * I personalize cedar boxes by carving names into the lid. On my site I have text
   boxes in which the customer can enter a name to be carved on the box. The client
   side validation works great except for one minor thing. When the customer clicks
   inside the text box without entering anything then clicks outside the textbox
   my validation message appears. Is it possible to have this valadation message
   appear only if the customers clicks the ‘add to cart’ button?
 * Thanks
 * [https://wordpress.org/plugins/wc-fields-factory/](https://wordpress.org/plugins/wc-fields-factory/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [10 years ago](https://wordpress.org/support/topic/client-side-validation-2/#post-7344267)
 * Hi,
 * you will have to edit the `wccpf-front-end.js` file by yourself.
    just comment
   it out the LN : 75 from `wc-fields-factory/assets/js/wccpf-front-end.js`
 * like this
    `//e.data.doValidate( $(this) );`
 *  Thread Starter [carver1g](https://wordpress.org/support/users/carver1g/)
 * (@carver1g)
 * [10 years ago](https://wordpress.org/support/topic/client-side-validation-2/#post-7344275)
 * Thank you very much. Works great!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Client Side Validation’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [carver1g](https://wordpress.org/support/users/carver1g/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/client-side-validation-2/#post-7344275)
 * Status: resolved