• Resolved Agenci Marknadsbyrå

    (@widerclothing)


    Hi!

    I am looking for some help with a summary. Did not find any 100% solution for a summary to my form, so created something that works, but it is not 100% good.

    If you look at the second page of my form linked, where the current summary is. You can see that even fields that where not clicked in is shown. Is there a solution to make your form fields show, just when they are answered?

    This is how it is created now, by using a html-field.
    Namn: {name-1}

    Telefon: {phone-1}

    Email: {email-1}

    Menyval: {select-1}

    Antal med kött: {number-1} st | {calculation-2} SEK

    Antal med fisk: {number-4} st | {calculation-3} SEK

    Antal vegetariska: {number-5} st | {calculation-5} SEK

    Antal barn: {number-2} st | {calculation-4} SEK

    Eventuella allergier / övrigt: {textarea-1}

    Tilläggsprodukter: 

    {number-8} st Buketter från Ecoflora | {calculation-7} SEK

    {number-6} st 100% blåbär råsaft | {calculation-8} SEK

    {number-7} st RSCUED Lycklig lemonad | {calculation-9} SEK

    {number-9} st Carl Jans klassiker, kokbok | {calculation-10} SEK

    Datum för avhämtning: {date-1}

    Avhämtningsställe: {radio-2} | {calculation-6} SEK

    Adress vid hemleverans: {address-1-street_address}`

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @widerclothing

    I hope you’re well today!

    Currently there’s no option to show field values based on whether they are empty or not.

    You could use a workaround for this but it’d be a bit “tricky” and might make the form way more complex: use multiple HTML fields instead of one.

    So instead of using one HTML field and putting all the values into it, you would then add a single HTML field value for each “summary line” and set visibility for them.

    For example:

    – add 1st HTML field {html-1}
    – put only this into it

    Namn: {name-1}

    – edit the {html-1} “Visibility” rules and set it to show only if {name-1} (so the field it’s supposed to show} is not null

    The {name-1} field is set as “required” on your form so it will never be empty and doesn’t need that visibility condition but following this example you should be able to set it for other fields too. The visibility conditions might be slightly different depending on the “parent” field type but I’m sure you got the idea.

    Best regards,
    Adam

    Thread Starter Agenci Marknadsbyrå

    (@widerclothing)

    Thank you for your answer.

    It’s a bit tricky as you said but it will work tho. But for the summary sent out through mail, how should I do then? Because then I can’t do multiple fields. And if I press the “All non empty fields” the whole summary will be duplicated into the mail because it is not empty.

    Do you get what I mean?

    Best regards, Edvin

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @widerclothing

    You can use the single fields in the email, for example, {html-1}

    If you are using some conditionals in the form, the email also accepts conditionals so you can write different templates.

    We do have plans to extend and create a native field, I’m afraid we don’t have an estimated time.

    Let us know if you have any additional question.
    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @widerclothing ,

    We haven’t heard from you for 5 now, so it looks like you have no more question for us.

    Please feel free to re-open this ticket if needed.

    kind regards,
    Kasia

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

The topic ‘Summary’ is closed to new replies.