Hello everybody,
I start on Appian, and I would like to control the mail adress format on an interface (presence of @, followed by a point ...).
How to do ?
Thaks for your help
Discussion posts and replies are publicly visible
A quick way (though not fully correct) to check the conditions you listed would be to use the following expression:
= with( local!at: find("@", ri!email), local!dot: find(".", ri!email, local!at), and(local!at>1, local!dot>local!at+1))
You'd need to add logic to disallow a@b..c and other invalid inputs.
Also check other posts on the same subject: https://community.appian.com/discussions/f/administration/7353/way-to-validate-email-addresses, https://community.appian.com/discussions/f/user-interface/6070/greetings-i-am-trying-to-validate-my-a-textfield-content-whether-it-is-an-valid, etc.