Jump to content
  • 0
Sign in to follow this  
nmalawskey

Conditional Field Display In Notification Email

Question

All, new user, looking for some help.

 

I'm trying to format a notification email to generate a list based on selections a user makes on a submission form.

 

Essentially I have 11 checkboxes, what I'm trying to do is create:

 

<li>Checkbox1 value</li>

<li>Checkbox2 value</li>

<li>Checkbox3 value</li>

 

..etc...

 

within the notification email, but not create <li> items for unchecked boxes. So if a user selects boxes 1 and 3, it would display as:

 

<li>Checkbox1 value</li>

<li>Checkbox3 value</li>

 

without a blank <li> element where Checkbox2 value would be inserted.

 

I've been using: [@InsertRecordXXX] to insert the records, but can't figure out how to pass the html <li> along with that.

 

I tried searching the forums, but no dice. 

 

Any help would be appreciated!

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I actually figured this out late last night. I just passed <ul><li>Information</li></ul> as the checkbox value, then inserted it into the email as an html value. 

 

So it auto-builds the list, and doesn't show white space where a button has not been checked. 

 

Cheers,

Nick

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...