Create a custom textfield validation with code behind
We are looking for a solution for following problem:
We use SCSM and Orchestrator to create a service request offering for creating new AD users, nothing special.
While filling out the form, the creator got the possibility to enter a desired email address for the new user which will be used to create the connecting mailbox for the new user in exchange.
What I'm looking for is to have the possibility to have some sort of advanced text field validation in the service request form like you could do it with regex, but this time with a .net function behind it. I have a function which checks the AD if the emailaddress is already taken and returns "true" oder "false". I want to run this validation when the service request creator leaves the emailaddress field and before he clicks "save".
Currently we resolving this issue by checking the emailadddress in orchestrator and updating the corressponding field in the ticket, but thats not a very elagent way, is it? :-)
Thank you and best regards