- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 02:25 AM - edited ā12-19-2023 02:30 AM
Hi there,
I have made an Record Producer form for our Service Portal.
One of the fields on this form is the "Watch List" field, an "Single Line Text" type field with reference/map to the real "Watch List" field (screenshot 1).
People can write down several email addresses, seperated by a comma. This goes very well and the entered addresses come succesfully into the backend Incident and can be used for outbound (Incident) emails (screenshot 2 & 3).
Now I got the problem that plain text can also be entered within this Record Producer field and when you use comma's, each sentence (from start to comma) comes separately in the backend Incident. As you can imagine, these sentences are no valid email addresses and cannot be used for any outbound emails (screenshot 4, 5 & 6).
How can I make this Record Producer field "email address only", with the possibility to enter several email addresses?
I've tried to change the "Type" of the Record Producer field from "Single Line Text" to "Email" (screenshot 7). This works, but unfortunately for only one email address, while I want to be able to enter a few email addresses.
Separating email addresses by comma or a semicolon (even with or without spaces) does not work (screenshot 8 to 11).
Please see the screenshots below for more information. Thanks in advance for any useful tips!
Screenshot 1:
Screenshot 2:
Screenshot 3:
Screenshot 4:
Screenshot 5:
Screenshot 6:
Screenshot 7:
Screenshot 8 - 9 - 10 - 11.:
Solved! Go to Solution.
- Labels:
-
ITSM: General

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-19-2023 08:07 AM - edited ā12-19-2023 08:10 AM
Hi @AdamUMC
You could leave the variable as type single line text and use a regex to validate if only correct email addresses have been filled in.
(([\w\.\-_]+)?\w+@[\w-_]+(\.\w+){1,}[,\s]*)+
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-25-2024 10:00 AM
Hi Peter, how can we address requirement where the field should allow more than one address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 06:30 AM - edited ā03-27-2024 06:30 AM
Not needed. You can use same field and let the fillers separate various email addresses by using a comma.
Works very well in combination with the solution of Peter Bodelier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-28-2024 10:34 AM
Thanks for you prompt response, I was using the oob Variable oob Validation Regex for email which doesn't support multiple emails. Have created a new Validation Regex and its now working as required.