Jump to content

How to add comma after field, only if a field has data?


hark

Recommended Posts

I want it to read like this for example:

 

<<First Name>>, You Could Win $1000!

 

or just

 

You Could Win $1000!

 

The problem is the comma. Some of the First Name fields are unpopulated and in that case, the comma is not needed. How do I write a rule to add the comma if there is data in the First Name field, but not add it if the field is empty?

 

I've tried searching for code and learning something on my own and instead I've spent too much time trying to wing it. Project is due!

 

Thanks for any help.

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
Reply to this topic...

×   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.

×
×
  • Create New...