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, Use IntegerField component, it only allow numbers, for length validation =a!integerField( label: "Reference Number", value: local!PhoneNumber, saveInto: local!PhoneNumber, validations:if( length(local!PhoneNumber) > 10,"Maximum 10 digits are allowed","" ) )
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
© 2022 Appian. All rights reserved.