Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Tab out required field validation on numeric field

Avatar

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
deepakt1812
Level 1

09-02-2018

Hi,

I am using a numeric field in my adaptive form. Even though I mention it as a required field, when I exit out of the field, the validation is not being triggered. Only when I try to submit the form, the required field validation is being triggered. However, for a text field which is a string in my JSON data model, the validation is being triggered right when I exit out of the field. Should I add custom logic for this? Or is there a way to do it OOTB?

Thanks in advance for the help.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

10-02-2018

I thought validation only occurs when you submit. Unless the form is bring submitted - why would you want validation logic to fire?

Avatar

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
deepakt1812
Level 1

10-02-2018

Our project needs the validation to trigger if the user exits out of the field. It does work for a string but not if the field is a number in the data model.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

10-02-2018

I do not know if that is supported - checking with the team. Like I said however - only seen validation fire in web sites when a form is submitted.

Avatar

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
deepakt1812
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
deepakt1812
Level 1

10-02-2018

Thank you . That would be helpful.

PNC Credit Card Application  Check this application and exit from the fields without filling anything. You can use it as an example .