Good afternoon,
We seem to have an issue with 5.10.2 where after validating a date field, the user does not proceed to the next field.
We have a form, where a date is picked, using a date picker and validated, using a script. After the date is picked and validated, the user should proceed automatically, to the next field in the form, as it does in our 5.9 deployment.
However, the user stays in the date field until he/she choosed the next one.
Has something changed in 5.10 regarding field order of the mechanics of moving through fields?
below is how it should be (or, in fact, is now)
Field order 5.10.2
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 32
- Joined: Wed Jun 19, 2019 9:46 am
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Re: Field order 5.10.2
Hi Bart,
This might be related to the JavaScript changes we made and broke something by mistake. I will take a look when I get the chance and see if I can find out why this is not working.
Kind regards
Steve
This might be related to the JavaScript changes we made and broke something by mistake. I will take a look when I get the chance and see if I can find out why this is not working.
Kind regards
Steve
0 x
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Re: Field order 5.10.2
Hi Bart,
This looks like our change of JQuery 3.3.1 to 3.5.1 might have broken the focus to next enterable field.
I initially thought it was the Content Security Policy (CSP) changes that caused the issue as we changed the way the JavaScript events are bound, but I did some more investigation.
Some of the focus JavaScript function calls are not working as they did before because they work differently in the versions of JQuery, hence the focus is not entering the next enterable field. The JavaScript does not throw any errors.. hence we did not see it.
I will add this as a bug to our bug database.
The only workaround would be to add controls.<time-control-name>.requestFocus(); in your validation script .. but that could be a hassle if you do this a lot.
Kind regards
Steve
This looks like our change of JQuery 3.3.1 to 3.5.1 might have broken the focus to next enterable field.
I initially thought it was the Content Security Policy (CSP) changes that caused the issue as we changed the way the JavaScript events are bound, but I did some more investigation.
Some of the focus JavaScript function calls are not working as they did before because they work differently in the versions of JQuery, hence the focus is not entering the next enterable field. The JavaScript does not throw any errors.. hence we did not see it.
I will add this as a bug to our bug database.
The only workaround would be to add controls.<time-control-name>.requestFocus(); in your validation script .. but that could be a hassle if you do this a lot.
Kind regards
Steve
0 x
-
- Ebase User
- Posts: 32
- Joined: Wed Jun 19, 2019 9:46 am
Re: Field order 5.10.2
Thanks for the quick response!
It only seems to occur on forms where we use a date picker, so that should not be too much of a problem.
It only seems to occur on forms where we use a date picker, so that should not be too much of a problem.
0 x
-
- Ebase User
- Posts: 32
- Joined: Wed Jun 19, 2019 9:46 am
-
- Ebase User
- Posts: 32
- Joined: Wed Jun 19, 2019 9:46 am
Re: Field order 5.10.2
This still seems to be an issue on 5.12.0, but upon investigation, we seem to have a couple of jquery versions in
both UserData\Server\apps\ufs\javascript, could this be an issue?
these are the jquery versions I found in this location:
jquery-1.6.4.min.js
jquery-1.8.3.js
jquery-1.9.1.js
jquery-3.3.1.min.js
both UserData\Server\apps\ufs\javascript, could this be an issue?
these are the jquery versions I found in this location:
jquery-1.6.4.min.js
jquery-1.8.3.js
jquery-1.9.1.js
jquery-3.3.1.min.js
0 x
Who is online
Users browsing this forum: No registered users and 16 guests