OnFocus event for form components
Comments
-
Hello
I am trying to verify if there is or isnt focus events for form components. I havent been able to find it so far, and the only form rule triggers can be fired for events like change and exit.
Here is a basic explanation of what Im trying to do. Rather than create individual flows within a lengthy rule stack for various list components to obtain selectable list values and/ or the selected value stored in the database, I would much rather get/ set the selectable/ selected list values for a particular list box based on variables for the active field being set on focus of the active component. Hopefully that makes sense.
Thanks in advance
Jeremy
-
Hi Jeremy, the Form Designer can interact with the focus of components in a couple of ways:
[ul][li]Enter/exit events (similar to OnFocus and other events in other development platforms)[/li][li] [url=https://documentation.decisions.com/docs/dynamic-form-features-overview]https://documentation.decisions.com/docs/dynamic-form-features-overview[/url][/li][li]Key Triggers (set focus via keystroke)[/li][li] [url=https://documentation.decisions.com/docs/key-triggers-form-controls]https://documentation.decisions.com/docs/key-triggers-form-controls[/url][/li][/ul]
The enter & exit events of components can be used for Data Flows, Validation Rules, & Visibility Rules. If you are referring to when an end-users mouse hovers over a component, there is currently no event/trigger for that.[img]att1[/img]
If youd like, I can branch this out into a support ticket if youd like to discuss this in-depth.
[i]edited by james.hartzell@decisions.com on 8/21/2020[/i]