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] 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions