Skip to main content
Nintex Community Menu Bar
Question

Tabbing to a field which triggers a Model Action loses focus

  • July 9, 2024
  • 3 replies
  • 31 views

Forum|alt.badge.img+2

Hi,

I have 2 models: Location & Suburb.

On the Location model fields are:

  • Street Name
  • Suburb (Lookup to Suburb model)
There is also a model action on Location, that when the Row in Model is updated triggered by the Suburb field, it will update a value in the Location model and Saves the Location Model.

What we find from the user experience, is that when they tab from Street Name to Suburb, even before they start typing, it loses focuses from that field, and they have to click back on the Suburb field.

Is there some way around this?

Thanks.

3 replies

Forum|alt.badge.img+11

Are you using custom field renderers?  What if you disable the model action – do you still see the weirdness?


Forum|alt.badge.img+2
  • Author
  • July 9, 2024

If I change the update field on change field to something other than Suburb, then the focus stays and I can tab to the field successfully.

Any thoughts?


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

Here is a guess. 

I think you have a template somewhere else on your page that is tied to the Location model.  When the field starts getting updated - the template detects the change and re-renders and gets the focus. If you change the template so its not connected to that model you should no longer have the symptoms you describe.