• Resolved Bessonweb

    (@besky)


    Hi,

    It would appear that there a problem when the phone field is required.

    The form say “Fill in the required field” even if is filled.

    I think it is since the last update of WPCF7 but i’m not sure.

    Thanks for your work !

    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor damiarita

    (@damiarita)

    Hi,

    Can you send me your URL to check?

    Thanks

    Thread Starter Bessonweb

    (@besky)

    Hi @damiarita,

    Thanks for your reply.

    The URL is https://cowork.io/#zone-try-it but i have disabled the requirement to fill in the field at this time to allow the form to be sent.

    Regards.

    • This reply was modified 7 years, 11 months ago by Bessonweb.
    Thread Starter Bessonweb

    (@besky)

    I looked at the bug in more detail and found several problems :

    1 – The field value (.wpcf7-intl-tel) stay empty when we fill the field.
    2 – The field have twice the same class (wpcf7-intl-tel).
    3 – The field that is validated is the user field and not the hidden field.

    I hope this return help you to resolve the problem.

    Pending this i have made a custom validation of the field with Jquery.

    Thanks in advance.

    Thread Starter Bessonweb

    (@besky)

    If we send a second time the form, the field is correctly validated and the form is sent.

    You can view this behavior on the french contact form now.

    • This reply was modified 7 years, 11 months ago by Bessonweb. Reason: add information
    Thread Starter Bessonweb

    (@besky)

    I finally found the bug origin !

    That is the WP Rocket minification of JS files.

    I have disabled the JS minification for this file : /wp-content/plugins/international-telephone-input-for-contact-form-7/script.min.js

    The bug is resolved… One day for this ! :'(

    • This reply was modified 7 years, 11 months ago by Bessonweb.
    Plugin Contributor damiarita

    (@damiarita)

    Hi,

    I am glad that you found the issue and that the plugin works.

    I am sorry I didn’t have the time to give you more support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error : Fill in the required field’ is closed to new replies.