• Resolved finemaster

    (@finemaster)


    Hello,

    I set a checkbox field which – if checked – should show a dropdown selection. Contact Form 7 does not report errors, but the code doesn’t work.

    Since the site is localhost, I copy here the code:

    
    <label> Your Name (required)
        [text* your-name] </label>
    
    <label> Your Email (required)
        [email* your-email] </label>
    
    [checkbox service-interest use_label_element "Are You Interested in Our Services?"]
    
    [group group-services]
    [select* dropdown-services include_blank "Drone Operations" "Consultancy" "Training" "Mainteinance"]
    [/group]
    
    <label> Subject
        [text your-subject] </label>
    
    <label> Your Message
        [textarea your-message] </label>
    
    [wpgdprc "By using this form you agree with the storage and handling of your data by this website."]
    
    [submit "Send"]
    

    The conditional field is:

    if service-interest equals to yes then show group-services

    Could you please help me solving this issue? Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter finemaster

    (@finemaster)

    Solved. I must use “Are You Interested in Our Services?” as value.

    @finemaster When you say that “Checkbox do not show extra field” do you mean that the [group some-thing] don’t show when checkbox clicked?

    If so, I have the same issue and have tried to add use_label_element into the checkbox element.

    My problem is as well that when checkbox is clicked, the group is not showing (only when I write something else in one other field, then it appears because it gets activated somehow)

    Can you help me understand a bit more of what you did to make it work?

    BTW: I have no .js errors on my page, that was the first thing that I was checking.

    CC: @jules-colle any ideas what this could be?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checkbox do not show extra field’ is closed to new replies.