Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
how to validate phonenumber with out using localvariable?
Discussion posts and replies are publicly visible
What is this question about? Is there a specific reason to not use locals?
i want to know both the ways to validate..
could you give me an example for with and without using locals?
Sorry, the validation of a phone number does not depend on using locals in any way.
Please help me to understand your question.
a!localVariables( local!phoneNum, a!textField( label: "Phone Number", value: local!phoneNum, saveInto: local!phoneNum, validations: if( regexmatch( "[0-9] [0-9]", /*paste your regex here*/ local!phoneNum /*Put local or ri variable name*/ ), {}, "Invalid Phone Number" ) ) )
The code to validate for phone number by using local variables. i dont think so we can achieve it without using local or ri variable.