Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #715271

    Hi,

    is it possible to put 2 required email boxes + 2 Number fields up in the contact form + so the form can validate/compare the user-input

    see e.g. https://s12.postimg.org/ubsskr8i5/enfold_nr.gif

    I can see that there is made a filter for contact form 7 – but I will rater use the built in form

    Hope you can help

    Regards Pete

    #716280

    Hey 2funky,

    Thank you for using Enfold.

    This is possible but, unfortunately, the option is not included in the theme by default. Please hire a freelance developer to modify the contact form script or you can just use the CF7 plugin. A lot of Enfold users are using the plugin.

    Best regards,
    Ismael

    #716371

    Hey Ismael,

    Thanks, I know it is probably a little out of support, but can you guide me to what needs to be changed / added in CF7 filter, so it also works on another field.

    Hope you can help, now when your form can’t do the job;)
    Regards Pete,

    #717376

    Hi,

    I’m not sure what they did exactly but it looks like an existing filter in their plugin. In the theme, you will have to create a new “confirm field” in the framework > php > contact-form-generator.php file or just create two identical fields in the contact form element. You can then modify the “avia_ajax_form” function inside the js > shortcodes.js file. Create a function that will check if the value of the input fields or “confirm field” are the same. Unfortunately, this modification are quite extensive and is outside the scope of support. Thank you for your understanding.

    Best regards,
    Ismael

    #717433

    Hey Ismael,

    thanks for great support.

    Regards Pete,

    #717572

    Hi Pete,

    Glad we could help, please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.