• Resolved desmogiec

    (@desmogiec)


    Hello,
    I would like to send the form displayng only some fields.
    Example:
    selection: options A / B (this selection shows/hides fields in the form)
    If selection = A, then mail send fields text-1 text-2 (which are visible only if selection = A)
    If selection = B, then mail send fields text-3 text-4 (which are visible only if selection = B)

    In mail options I can’t see how to do that.
    I see a {query} field, but I don’t find any documentation on how to use it.

    I noticed that, if I use {allfields}, the email will be populated with only the visibile fields in the forms, not sending the hidden ones.
    I would like to replicate this function but with singulars fields of my choice, not using {allfields}.

    Any clues?

    Thanks in advance.

    Mirko

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @desmogiec ,

    If selection = A, then mail send fields text-1 text-2 (which are visible only if selection = A)
    If selection = B, then mail send fields text-3 text-4 (which are visible only if selection = B)

    If you put in the email confirmation fields text-1 text-2 text-3 text-4 and user will select B and fill the text-3 text-4, those filed should only be shown in the email.

    Is that not working on your site? Can you export your form so I can check it?

    kind regards,
    Kasia

    Thread Starter desmogiec

    (@desmogiec)

    Hello!
    Yep, you’re right.
    I was trying with a section title show/hidden, and with sections it shows everything.
    It works using text fields instead, and I’m ok with this, I can use auto filling text fields as a workaround.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Email send – conditional fields to display’ is closed to new replies.