• Resolved Stephane PISKORZ

    (@stefanp44)


    Hi,

    I tested the form below: works fine except that some variables are missing in the emails sent. For instance, you can order some appetizer, main dish or dessert, and all fields are marked as required. The form also includes a summary page (3rd page), on which you can see all choices, how much you will be charged, etc.
    Then, the emails are sent, one to admin, the other one to the email submitted in the form, and some variables are not here, as if they were blank. I will be testing this to see if non English caracters could be a problem, but as the same time, I’d be really grateful if you could take a look (probably grateful enough to buy the pro version ??

    https://pastebin.com/heG242hG

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @stefanp44,

    The issue with the emails is because the values can’t be entered as a normal text, you would need to change them to look something like “my-value-for-field”, without the quotes.

    For example, “Entrée + plat + dessert” value would need to be “entre-plat-dessert” instead of “x Entrée + plat + dessert”.
    Currently the emails use labels so you can put X between placeholders to get your desired results.

    You can check the example of your edited form by importing this one:
    https://paste.nifty.app/ef31c12e

    Best regards,
    Predrag

    Thread Starter Stephane PISKORZ

    (@stefanp44)

    Hi Predrag (@wpmudev-support1),

    I just tested the form you sent me: indeed, it works fine, the variables are there in the email received.
    However, it seems to have created another little bug: only one notification is sent (the one to the admin); the notification to the email adress submitted ({email-1} is not triggered anymore, but I don’t understand why, as the conditions are met.

    Best regards,

    Thread Starter Stephane PISKORZ

    (@stefanp44)

    Hi @wpmudev-support1,

    Never mind that last message, everything works fine. Thanks a lot for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Variables missing in email’ is closed to new replies.