Hey Zoho Community,
I am new to Deluge, and Zohos functions in general but have a decent understanding of python, java, etc...
I am having issues creating a simple validation function.
I have tried many google search results and this one even shows some code from Zoho's knowledge base.
I copied the code EXACTLY except I do not have a reference number field so I used First_Name field as an alternative while doing testing.
Every time I try to execute I get this
No matter what I put there I cannot seem for it to work properly.
If it matters on the big picture of what I am trying to accomplish with my validation function is, I am having issues with people using emojis in their forms. I know this validation would have to be on the side of the forms not the side of the modules however, I am trying to get the concept to work first.
Haven't even got to the point of this being the issue but targeting all Emojis seems to be a complex regex problem as well. If anyone has extra feedback on that It would be appreciated. These are my concepts for that separate issue.
Regex Possible Options for targeting Emojis:
match(/([\uE000-\uF8FF]|\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDDFF])|\s/)
OR
match(?!.*(?:[\uE000-\uF8FF]|\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDDFF])