Home > Forum > Tips&Tricks > Tip: Prevent ; and # in fields referenced in choose fields

Tip: Prevent ; and # in fields referenced in choose fields
1

MVP

Hi,

in case you have choose fields, which reference information from another workflow you should prevent the user from entering special characters.

Example:
A subworkflow is linked to a parent workflow with a choose field and uses the Title field as the display name.
If a user enters ; or # in the value of the field, this will break the choose field logic. The system will be interpreted as a delimiter for a new choose field.

This can be achieved by using a regular expression.
RegEx:
^[^;#]+$

Best regards,
Daniel

Nobody has replied in this thread yet.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.