Field order 5.10.2

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

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Field order 5.10.2

#1

Postby bartbaas » Mon Mar 14, 2022 2:03 pm

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)
Attachments
date_to_time.png
date_to_time.png (11.33 KiB) Viewed 3243 times
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

Re: Field order 5.10.2

#2

Postby Steve » Mon Mar 14, 2022 9:21 pm

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
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

Re: Field order 5.10.2

#3

Postby Steve » Thu Mar 17, 2022 3:31 pm

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
0 x

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Re: Field order 5.10.2

#4

Postby bartbaas » Tue Mar 22, 2022 8:08 am

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.
0 x

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Re: Field order 5.10.2

#5

Postby bartbaas » Mon Oct 17, 2022 9:37 am

It still seems to be an issue in 5.11 can you investigate?
0 x

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Re: Field order 5.10.2

#6

Postby bartbaas » Thu Apr 20, 2023 2:04 pm

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
0 x


Who is online

Users browsing this forum: No registered users and 77 guests