Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
10 replies
Subscribers
7 subscribers
Views
3176 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have attached the Screen shot and Sail code. Form should not submit when numer
jegadeeswaran
over 10 years ago
I have attached the Screen shot and Sail code. Form should not submit when numeric validation failed in the hidden section. Pease assist on this.
OriginalPostID-143944
OriginalPostID-143944
Discussion posts and replies are publicly visible
Parents
0
Conor Cahill
Certified Lead Developer
over 10 years ago
You have to put the numeric validation in the validations field in the a!formLayout(). That way the validation will always be checked, even if a specific section is hidden.
You'll need to write a rule to check if local!b is a number, usually that's done this way:
ri!variable: the string you'll be performing the numeric validation on.
len(cleanwith(ri!variable,"0123456789"))=len(ri!variable)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Conor Cahill
Certified Lead Developer
over 10 years ago
You have to put the numeric validation in the validations field in the a!formLayout(). That way the validation will always be checked, even if a specific section is hidden.
You'll need to write a rule to check if local!b is a number, usually that's done this way:
ri!variable: the string you'll be performing the numeric validation on.
len(cleanwith(ri!variable,"0123456789"))=len(ri!variable)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data