Cursor control when using dynamic recalculation of forms

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Cursor control when using dynamic recalculation of forms

Post by tford »

When having a rule dynamically recalculate a form (page 194 of User Guide), is there any way to keep the cursor at the users current position when the rule was executed rather than repositioning to the first field on the form?

Thanks,
Tom
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

No, currently it will move to the first field.
Aware IM Support Team
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Cursor control when using dynamic recalculation of forms

Post by Jhstephenson »

Has there been any change in this?

I need to do something similar to what the original post asked.
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Cursor control when using dynamic recalculation of forms

Post by aware_support »

It should be quite smooth now - dynamic rules are executed on lost of focus and the cursor doesn't move.
Aware IM Support Team
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Cursor control when using dynamic recalculation of forms

Post by Jhstephenson »

So, is there a way to have the cursor positioned on a specific attribute when the form is drawn, based on a condition in another attribute?

i.e.

I have a Yes/No attribute named CaseDescription_Edit.

If the value of that attribute is 'Yes' I want the cursor to be positioned on the CaseDescription text field, when the form opens.
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Cursor control when using dynamic recalculation of forms

Post by aware_support »

There is no conditional control on where the focus is. If you want to do this you need to write a Javascript attached to the form.
Aware IM Support Team
Post Reply