• Resolved Agence Larsen

    (@arsenelesueur)


    Hi everyonye,

    I successfully created a dynamic form using a select input field to display (or not) some fields and also choose my recipient.

    Here is an example of the conditional field code that works fine in my form :

    [conditional cond-transport-arrivee]
    <label> Place
        [text transport-lieu-arrivee placeholder "Street, CP, City"] </label>
    [/conditional]

    I’m now trying to use the conditional shortcodes in my email body but it displays a blank line, even if all conditions are met and the field displays perfectly outside frim the suggested condition shortcodes.

    Here is an exemple of how it looks in my email body (note : there is only one conditional text input displayed in the form when the condition is met) :

    [cond-transport-arrivee]I want to display random text with [<label>transport-lieu-arrivee</label>] inside ![/cond-transport-arrivee]

    Do you know where the mistake happens ? Is it because I try to use several of this in my email body ?

    Best regards

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mdashikul

    (@mdashikul)

    Hi @arsenelesueur – I hope you’re doing well. Thank you for bringing the issue to our attention. I’ll need to investigate the matter thoroughly to provide you with a suitable solution. Please create a support ticket on our?portal?( Start the ticket message with “Support From ORG” ) and I’ll address the issue promptly. Thank you.

    Plugin Author mdashikul

    (@mdashikul)

    Hi @arsenelesueur – I hope you’re doing great! You can pass the conditional field data inside a random text using this process. You don’t need to add the <label> tag inside the shortcode. This way, if the condition is true, your data will be set inside the random text.

    [cond-transport-arrivee]I want to display random text with [transport-lieu-arrivee] inside ![/cond-transport-arrivee]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t make conditional display in email body working’ is closed to new replies.