• Resolved johnadams01

    (@johnadams01)


    Everything on the Conditional statements works perfectly — it just won’t send the form. Am i missing something here?

    The code I have in CF7 is:

    <div class=”inline-form-els”>
    [text* first-name placeholder “First Name*”]
    [text* last-name placeholder “Last Name*”]
    </div>

    <div class=”inline-form-els”>
    [email* email placeholder “Email*”]
    [tel phone-numb placeholder “Phone Number”]
    </div>

    [select inquiry-type first_as_label “Inquiry Type” “General Inquiry” “Concert or Event” “Private Events” “Filming” “Other”]

    [group general]
    [select how-heard first_as_label “How did you hear about us?” “Attended Event” “Press & Media” “Online Search” “Other”]
    [textarea general-message placeholder “Message”]
    [/group]

    [group concert-event]
    <div class=”inline-form-els”>
    [text* company-name placeholder “Event Promotion Company Name”]
    [text* desired-date placeholder “Desired Date (dd/mm/yyyy)”]
    </div>

    <div class=”inline-form-els”>
    [text* alternative-dates placeholder “Alternative Dates (dd/mm/yyyy)*”]
    [select event-times first_as_label “Event Times” “Load In” “Door” “Show” “End”]
    </div>

    <div class=”inline-form-els”>
    [text* expected-attendance placeholder” Expected Attendance*”]
    [select age-restrictions first_as_label “Age Restrictions” “21+” “18+” “All Ages”]
    </div>

    <div class=”inline-form-els”>
    [select type-event first_as_label “Type of Event” “Live Band” “DJ” “Seated” “Other (Describe Below)”]
    [text* performers-genre placeholder “Performer’s Genre”]
    </div>

    [textarea message placeholder “Message”]
    [/group]

    [group private-event]
    <div class=”inline-form-els”>
    [text* event-type placeholder “Type of Event”]
    [text* event-date placeholder “Desired Event Date”]
    </div>

    <div class=”inline-form-els”>
    [text* alternative-date placeholder “Alternative Dates*”]
    [select event-time first_as_label “Event Times” “Load In” “Door” “Show” “End”]
    </div>

    <div class=”inline-form-els”>
    [text* number-guests placeholder “Number of Guests*”]
    [text budget placeholder "Budget"]
    </div>

    [textarea pe-message placeholder “Message”]
    [/group]

    [group filming]
    <div class=”inline-form-els”>
    [text* desired-film-date placeholder “Desired Date(s)”]
    [text* times placeholder “Times”]
    </div>

    <div class=”inline-form-els”>
    [text budgets placeholder "Budget"]
    </div>

    [textarea filming-message placeholder “Message”]
    [/group]

    [group other]
    [textarea other-message placeholder “Message”]
    [/group]

    [recaptcha align:center]
    [submit “Submit”]`

    ———-

    And, the conditional form logic looks like this:
    https://ibb.co/QFYNK8C

    ———

    Can’t seem to figure out why the form won’t submit when i press “submit” .. it doesn’t do anything.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter johnadams01

    (@johnadams01)

    as a follow up. I tried it on a different wordpress site I have and it workse fine. But, i have a different contact form on the website (without conditional) and that works fine)

    Could it be plugins, a verson of jQuery?

    • activity log
    • advanced custom fields / pro
    • advanced post manager
    • askimet
    • contact form 7 – obviously
    • contact form 7 database
    • flamingo
    • limit login attempts
    • mailchimp
    • google site kit
    • wordfence
    • 2 step authentication (to log into wp-admin
    • wp external links
    • Yoast
    • This reply was modified 3 years, 2 months ago by johnadams01.
    Thread Starter johnadams01

    (@johnadams01)

    Looks like it has to do with the required fields b/c when i remove it, it works. Anyone know how i can make it so the following are required:

    First Name
    Last Name
    Email Address

    And, how can i send a conditional form if one group has required fields but the user selects another group. I believe it prompts the user and says you have required fields even though they selected a different Inquiry type

    Plugin Author Jules Colle

    (@jules-colle)

    Could you reproduce your form here https://conditional-fields-cf7.bdwm.be/form-tester/ and share the link here?

    Hey there Jules, I’m running into the same issue. The conditional fields plugin (just installed yesterday) all work fine, but the arrows are stuck looping when I hit Submit.

    Here’s mine:

    https://conditional-fields-cf7.bdwm.be/form-tester/?hash=b03e87478d96641e2d1b9f57a69885eb

    Please help, thank you!

    Plugin Author Jules Colle

    (@jules-colle)

    @maggiepbi please create a new topic.

    Sorry will do! ??

    Thread Starter johnadams01

    (@johnadams01)

    @jules-colle Thanks Jules

    The link is https://conditional-fields-cf7.bdwm.be/form-tester/?hash=5d5641d2cf8b834da4926852f6d45c90

    It seems to be an issue with the fields being required as the Inquiry Type determines what loads (select General, it loads a different set of fields than it does if you select Private Event for example). So, i think because there are required fields in certain groups that the user DOES NOT select, it’s not letting the user submit it.

    Thanks again !

    Thread Starter johnadams01

    (@johnadams01)

    @jules-colle

    Wondering if you had a chance to check out my code above.

    It’s an issue of making fields required. If you see on the form , the user selects “INQUIRY TYPE” which correctly brings down whatever group is in that Inquiry Type. For example, selecting “Filming” will bring the form fields for:
    -desired date
    -times
    -budget
    -message

    If i make any of these form fields required though, it WONT send the form because if a user goes to the site and selects a different inquiry type (let’s say GENERAL INQUIRY with its own set of required fields), the form wants = the user to fill out the required fields for “Filming” still since those are required (which they wouldn’t fill out since that’s not their inquiry type).

    I tried to find documentation, threads about this but surprisingly cannot. Any help would be greatly appreciated!

    Thread Starter johnadams01

    (@johnadams01)

    @jules-colle disregard question. Tried it on another site and the hidden required fields works fine. I believe it has something to do with a javascript file in my site files as that same file is also restricting the general “error” messages that appear when a field is not filled in. Delete thread if you can

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Form Won’t Send’ is closed to new replies.