AnsweredAssumed Answered

script question regarding email button

Question asked by bdembar on Jun 2, 2017
Latest reply on Jun 2, 2017 by erolst

Hello,

 

Here is my code for an email button:

 

 

Get ( CurrentDate ) & (¶)

& (¶)

&  "Stick Control "  & (Lessons::Stick Control) & (¶)

&  "Accents and Rebounds "  & (Lessons::AR)  & (¶)

&  "Hochrainer "  & (Lessons::Hochrainer)  & (¶)

&  "Peters Intermediate "  & (Lessons::Peters I)  & (¶)

&  "Peters Advanced "  & (Lessons::Peters A)  & (¶)

&  "Krauss "  & (Lessons::Krauss)  & (¶) 

&  "Green "  & (Lessons::Green)

 

This gets information from 7 fields and sends them in an email to my students.  The problem is that if there is no information, if the field is empty, it will still send the blank field information.  How can I filter this to use only non blank fields?  If anyone knows this would be a great help.

 

Thanks!

Outcomes