• Resolved sdnetzhammer

    (@sdnetzhammer)


    Hello,

    i have a contact form with multiple required fields and files. But for a few weeks now you can submit the form without uploading a file, although this is required. I tested a little bit and found that once I add other required fields (like text or checkboxes), the required files are no longer recognized as required.

    Is there a way I can fix this?

    Thanks in advance!
    Martina

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • hi @sdnetzhammer

    the issue is caused by 4 elements with non-unique id “#abstandsfeld”

    please fix this because this kind of error are no longer permitted by browsers.

    Thread Starter sdnetzhammer

    (@sdnetzhammer)

    Thanks for your answer @codekraft !

    I deleted the id “#abstandsfeld” but the problem is still there.

    Seems actually you aren’t loading wpcf7 script and styles and this caused probably by caching plugins.

    I noticed you have heavly modified the cf7 form (hidden groups, repeaters, steps …) the issue maybe caused by this plugin, so try to disable also this.

    Obviously it is temporally but it helps to understand where your trouble comes from

    https://contactform7.com/why-isnt-my-ajax-contact-form-working-correctly/

    • This reply was modified 3 years, 5 months ago by Erik.
    Thread Starter sdnetzhammer

    (@sdnetzhammer)

    I tried the contact form without groups and it works as it should. So I think the groups are causing the problem. Similar cases have already been reported in the plugin’s support forum. Since the file fields in my form are also outside of a group, it didn’t occur to me that the groups are causing the error. I will contact the support of the plugin.

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Required file doesn’t work with other required fields’ is closed to new replies.