Support » Plugin: PPOM for WooCommerce » Add custom jquery validation

  • Resolved afcarvalho



    I need create a text field (or number field with input mask). The field contains a number with 11 numeric digits and the following mask: 999.999.999-14.

    The mask is ok. But I need to do a validation for the last 2 digits, which are checking the first 9 digits. I have a jquery function ready for this.

    How do I add this validation function in ampo, in the same way as the required field validation?

    That is, by clicking the XXX button I want the program to check:

    1. If the field has been filled (ok)
    2. My custom validation function

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add custom jquery validation’ is closed to new replies.