• I have added link of project page where i put this enquiry button.
    Its just does not submit keep asking field required please check.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have been helping @priyam3491 with this issue because he was using some of my code.
    I did some experiments with plain CF7 forms.

    My setup: WordPress 5.4.2, WooCommerce 4.3.0, CF7 5.2 and WooCommerce Quote or Enquiry CF7 1.5. Theme is Storefront 2.5.8.
    I duplicated the CF7 form so I now have 2 identical forms.

    In a footer widget I added the CF7 shortcode for 1 form (form ID 48).
    In your plugin settings I set it to use the other form (form ID 50). It is only showing on single product page.

    I am able to submit the form in the footer. The form action=”#wpcf7-f48-o1

    The popup form does not work. It reports “One or more fields have an error. Please check and try again.”
    The error messages (The field is required.) are displayed in the footer form.
    The form action for the popup is action=”#wpcf7-f48-o1” but this is wrong.
    This is strange because the Enquire button attribute has data-enquiry-form=”50″

    I noticed that the wqoecf_quote_or_enquiry_ajax_callback() function is returning the correct form.
    The issue must be with the submission of the form. When it returns the error the popup form is changed to be the other form!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form keep showing field required and do not submit’ is closed to new replies.