the validation seems not working when initial value given..

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

the validation seems not working when initial value given..

#1

Postby t4nu » Tue Jul 12, 2016 3:24 am

Hi,
I have a field which I give it a validation, so when the user enter a value then it will execute a function to fill other fields based on that entered value.
When that field is not given any value in before event of the page, the validation run as expected, but when any value given to it, the validation seems ignored. What should I do ti fix this?
Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Jul 12, 2016 8:04 am

Run the function to set the dependent fields at the point where you set the field value e.g. the before event.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Tue Jul 12, 2016 8:07 am

You mean before event of the field?
Jon wrote:Run the function to set the dependent fields at the point where you set the field value e.g. the before event.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Tue Jul 12, 2016 9:03 am

Yes
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#5

Postby t4nu » Tue Jul 12, 2016 10:10 am

OK.
Thanks for the help.
Jon wrote:Yes
0 x


Who is online

Users browsing this forum: No registered users and 8 guests