• Resolved sholdowa

    (@sholdowa)


    is it possible to get your plugin to trigger the relevant filter ( as configured with

    add_filter( 'gform_field_validation_form_field', 'my_field_validation', 10, 4 );

    ) ??

    ( I’m wanting to validate a mobile phone number, then SMS it if valid ).

Viewing 1 replies (of 1 total)
  • Plugin Author Daman Jeet

    (@djeet)

    Hi ,

    Our plugin is a client side validation tool and the said filter gets executed On Submission (server side).

    If I understand your goal correctly, you can simply use the plugin to

    1) Validate the number on the client side

    2) And send a request to your SMS ‘ON Submission’ (server side).As the JS has already validated the phone field, you can fire the message API on that filter.

    Does that make sense?

    Let me know if you have any further question.

    Thanks
    Jeet

Viewing 1 replies (of 1 total)
  • The topic ‘integrate with field validation functions?’ is closed to new replies.