• Hi, and a big thank you for this very usefull plugin!
    I would like to know how to implement the jQuery hook for valid inputs, as stated on the plugin home.

    jQuery(document).on(“lv_after_field_valid”,function(event,element){
    jQuery(element).css(“background-color”,”green”);
    });

    As i don’t have so much experience with coding, some directions on where to put such codewould be very welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter larsky67

    (@larsky67)

    I would also like to validate option (dropdown) fields. Possible problem is that this type of (price)field is supplied by Gravity Forms Product Addons. Any thoughts?

    @larsky67,

    We glad that you liked the plugin.

    Regarding your first query.
    This javascript hook is to do anything on the field or anything in general when field validation completes with the valid input. I showed in the example that you can add a background color to green when this event runs.

    You can replace jQuery(element).css(“background-color”,”green”); with the code you want and place it on the page you want.
    https://stackoverflow.com/questions/11159860/how-do-i-add-a-simple-jquery-script-to-wordpress

    & regarding the pricing field, we are fully compatible with the pricing fields in gravity forms. However, you are facing some issue. Please provide page url in which you are having trouble.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Validation Messages For “Valid” inputs’ is closed to new replies.