Jump to content
  • 0

Form automatic message email body - only send completed fields?


roattw
 Share

Question

We have a form that sends an auto email of the forms fields and the data they have in them to an email.  In the message body we have all the fields listed:

Overnight : [@field:Overnight]
Initials : [@field:Pt_initials]
Hosp : [@field:Hospital]
Age : [@field:Age]
etc....

IS there a trick to only send data for the fields that contain actual data?  For example if "AGE" not answered and blank, we still get an "Age:  " in the email, when we prefer if blank nothing is sent.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
18 hours ago, roattw said:

We have a form that sends an auto email of the forms fields and the data they have in them to an email.  In the message body we have all the fields listed:

Overnight : [@field:Overnight]
Initials : [@field:Pt_initials]
Hosp : [@field:Hospital]
Age : [@field:Age]
etc....

IS there a trick to only send data for the fields that contain actual data?  For example if "AGE" not answered and blank, we still get an "Age:  " in the email, when we prefer if blank nothing is sent.

Hi roattw,

I found a post with the similar question. Have you tried using script from this post?

Link to comment
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...
 Share

×
×
  • Create New...