I work with appscript in SBM 12.1
I must check, in appscript, in a field contains only alphanumeric characters and I didn't find a funtion. Some wrote a funtion to do that?
Thanks for your help.
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
I work with appscript in SBM 12.1
I must check, in appscript, in a field contains only alphanumeric characters and I didn't find a funtion. Some wrote a funtion to do that?
Thanks for your help.
I think they are trying to check the value of a text field, rather than a file.... Christine, there are not any built-in SBM AppScript functions for this type of check. However, AppScript is based on VBScript 4.0. So, I would suggest googling for an vmscript function that does this check. I would guess that you could find some good example out there.
I think they are trying to check the value of a text field, rather than a file.... Christine, there are not any built-in SBM AppScript functions for this type of check. However, AppScript is based on VBScript 4.0. So, I would suggest googling for an vmscript function that does this check. I would guess that you could find some good example out there.
Arg! Mis-read "Field" as "File". Rented brain.
Christine: Is this on a Transition form? It would be relatively easy with JavaScript to strip any character in a Text field that isn't in the range of decimal 32 (0x20; ASCII SPACE character " ") to decimal 126 (0x7E; ASCII TILDE "~").
The JavaScript could also confirm that a Text field only contains Alphanumeric chars without modifying the field. What do you want to do with the result of that evaluation?