Jump to content

Determine Plural Based on Data


Recommended Posts

I need some help with determining if the printed piece will say "result" or "results" based on several fields.


There are five fields that will either be empty or contain an "x". If more than one of the five fields has an "x" in it then we need to return the plural "results". Otherwise if only one of the five fields has an "x" in it we return "result".


This is probably very easy but my scripting skills are basically limited to copy and paste from all the wonderful help people post on this forum.


Thank you.

Bob M.

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.

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