• Resolved Doshi

    (@doshi)


    Hello Nick,

    I am using WP 4.0 and WordPress-to-Lead for Salesforce CRM v2.6.1

    I would like to check if the email addresses entered in the forms are valid prior to submitting them to SalesForce. Is there are way to do this in the plugin? Or will I need to do any additional coding?

    I also wanted to know if I can redirect the users based on the check box option they choose, to different pages once the form is submitted?

    Any suggestions would be appreciated.

    Thanks
    Doshi

    https://ww.wp.xz.cn/plugins/salesforce-wordpress-to-lead/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    Email validation is automatic (for the built-in email field).

    It can be added to other fields via a filter — I suppose an email field type (with validation) would be handy… you’re in luck that was super easy to add to 2.6.4. Just change the field type to email to enable auto validation.

    You can now conditionally redirect users using these new filters added in 2.6.4:

    salesforce_w2l_returl & salesforce_w2l_returl_{Form ID}

    See the “other notes” tab for usage.

    Thread Starter Doshi

    (@doshi)

    Thanks Nick.
    Does the email validation include real-time email checks against:
    1. Domain
    2. Syntax
    3. Username

    I will have a look at the new filter for conditional redirect. I am not sure if that is the one I need. Will give it a try though.

    Plugin Author Nick Ciske

    (@nickciske)

    It uses is_email() to insure its a valid format. I’m not sure what you’re asking for exactly, but you can add whatever custom validation you want on top of that using a filter (see other notes).

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

The topic ‘Email address check’ is closed to new replies.