• Resolved cahajla

    (@cahajla)


    Hi Jules,

    I have no idea what I’m doing wrong. I double-checked everything many times and still can’t solve it.

    I have several separate checkboxes in their own groups and everything works well in the form, but in the email they show always all regardless whether some of them are chosen or not.

    Here is the code in the form:
    [group engagement clear_on_hide][checkbox eng_sho “Engagement shoot – $700–700”][/group]
    [group dronephotos clear_on_hide][checkbox dro_pho “Drone photos – $300–300”][/group]
    [group speeches clear_on_hide][checkbox vid_spe “Video of speeches – $500–500”][/group]
    [group dance clear_on_hide][checkbox vid_dan “Video of first dance – $200–200”][/group]

    This is the code in the email:
    [engagement]Engagement shoot – description[/engagement]<br>
    [drone]Drone – description[/drone]<br>
    [speeches]Video of speeches – description[/speeches]<br>
    [dance]Video of dance – description[/dance]<br>

    • This topic was modified 4 years, 6 months ago by cahajla.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cahajla

    (@cahajla)

    Also I found out that if I put into the email the checkbox fields then they show in the email exactly as they were chosen, but unfortunately there are empty rows instead of checkboxes that weren’t chosen.

    So this is code in the email:
    [eng_sho]<br>
    [dro-phovid]<br>
    [vid_spe]<br>
    [vid_dan]<br>

    And this is what I get if I choose just [dro-phovid] and [vid_dan], first and third rows are empty, which looks weird if there is let’s say 10 checkboxes and you choose first and the last item then there are 8 rows empty:

    Drone photos/video footage – $300

    Video of first dance – $200

    • This reply was modified 4 years, 6 months ago by cahajla.
    Plugin Author Jules Colle

    (@jules-colle)

    in the form you use [dronephotos], in the email [drone]
    also in the form I see [dro_pho] while in the email you put [dro-phovid]

    Make sure to get your spelling the same.

    I also think you are seriously over-complicating things. It would help if you could explain what you want exactly. The way I see it now, you want the user to select a photo-shoot and then add that to the email? This could be seriously simplified like this:

    form code:

    <strong>Select your photo-shoot</strong>
    [checkbox photoshoot exclusive "Engagement shoot – $700–700" "Drone photos – $300–300" "Video of speeches – $500–500" "Video of first dance – $200–200"]<br>
    [submit]

    email code:

    Your selected photo-shoot:<br>
    [photoshoot]
    • This reply was modified 4 years, 6 months ago by Jules Colle.
    Plugin Author Jules Colle

    (@jules-colle)

    or maybe you are looking for this?

    [engagement][eng_sho]
    [/engagement][drone][dro_pho]
    [/drone][speeches][vid_spe]
    [/speeches][dance]vid_dan
    [/dance]

    Anyway, I think I need more information

    Thread Starter cahajla

    (@cahajla)

    Oh sorry, the group with the drone should be different, I mixed 3 different options. There are drone photos, drone video footage and drone photos and video footage.
    But the rest is correct, isn’t?

    I know I can put all the options just into one single checkbox field, however what I need is really little more complicated ??

    We offer Photo Packages, Video Packages and combined Photo+Video Packages.
    Each of them are in 3 different coverages, 6,8 and 10hr, so that’s 9 packages in total. And each package has different option what you can have for extra optional add-ons. And exactly for the add-ons we need the checkboxes. For each item separate checkbox linked to exact package. Here is link to the contract… https://www.whiteparrot.com.au/contract-sarah-fred/

    • This reply was modified 4 years, 6 months ago by cahajla.
    Thread Starter cahajla

    (@cahajla)

    If I use this:
    [engagement][eng_sho]
    [/engagement]<br>[drone][dro_pho]
    [/drone]<br>[speeches][vid_spe]
    [/speeches]<br>[dance]vid_dan
    [/dance]

    Then I get exactly the same as when I use just the checkbox tags:
    [eng_sho]<br>
    [dro_pho]<br>
    [vid_spe]<br>
    [vid_dan]<br>

    Conditions work well, but there is the problem with empty rows if I don’t choose all options. Of course if I don’t use <br> then everything is in single row which I don’t want.

    Plugin Author Jules Colle

    (@jules-colle)

    Put your <br>’s here if you really must add them manually (newlines should be converted to br automatically.

    [engagement][eng_sho]<br>
    [/engagement][drone][dro_pho]<br>
    [/drone][speeches][vid_spe]<br>
    [/speeches][dance][vid_dan]<br>
    [/dance]
    Thread Starter cahajla

    (@cahajla)

    Yeah I’ve just found it out too ?? So obvious. I’m lame ??
    Now it’s exactly as I need.
    BIG THANKS Jules for your great help, you’re awesome!

    Plugin Author Jules Colle

    (@jules-colle)

    Glad to hear it. Thanks, and I’m sure you are awesome too! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conditional fields in email show all although when not chosen’ is closed to new replies.