• Resolved lbohen

    (@lbohen)


    My client uses WooCommerce shopping cart software and Flexible Checkout Fields. I want to add a 2nd required Email Address field labelled “Re-Type Email Address” to, hopefully, minimize the chances of a customer entering their email address.

    How can this be done?

    If the customer enters two different email addresses, will they be notified that they’ve entered two different email addresses?

    Will they be offered the ability to correct their email address?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @lbohen,

    In the FCF plugin documentation there is an article about custom field validation. The paragraph titled Confirm email address field covers the situation described.
    Please copy the given code to the functions.php file of the child theme and point to the primary field with the email address e.g. billing_email. Then assign this new validation to the Re-Type Email Address field in the FCF settings.

    Everyone who enters an incorrect address will see a validation error similar to the one visible when other fields are filled in incorrectly.
    The content of the error message can also be changed in the code provided in the documentation.

    Let me know if everything has been set up successfully.

    Thread Starter lbohen

    (@lbohen)

    My client’s site uses the Divi WP theme and WooCommerce plugin.

    Your advice states to copy the code to the functions.php file of the child theme. A child theme is NOT used on this client’s site. Does that change your advice?

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @lbohen,

    This means that the changes made will be lost after the update if the functions.php file is modified.

    The solution is to install a free plugin for generating child themes e.g. Child Theme Configurator. With its help the client will likely generate a child theme and then edit its functions.php.

    Please make a backup first.

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    I am marking this topic as resolved as we have not received any new replies.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Re-Type Email Address’ is closed to new replies.