Hi everyone, i just wanna put phone number validation into my interface. The field should take only numbers & length should be 10 digits. Can any one help me out.
Discussion posts and replies are publicly visible
Hi Narmada, You can use the below to resolvbe your issue, a!integerField( label: "PhoneNumber", value:local!phoneNumber, saveInto: local!phoneNumber, required: true(), validations:if(len(local!phoneNumber)=10, {},"Enter 10 digits only") ) the local!phoneNumber Is declared in load() and the a!integerField() is using under Form Layout. Hope this will help. Thanks Sahil
throwing error when phone number exceeding the intergerField() range and value is getting modified to infinity symbol.
priyankaappana , Use a text field and apply any of the below suggested validations
https://community.appian.com/discussions/f/user-interface/11731/phone-number-validation/51898#51898
community.appian.com/.../51942