How can you add logic to the default "X" button in a Form title bar?
Within a normal Form, I want to be able to run some logic if the user clicks the default “X” button found on the title bar. Is this possible?
Comments
-
Hi there!
Unfortunately, it is not possible to add any logic to the default “X” button within a Form’s title bar. Here is a solution that may work for your project needs:
- You can disable the Form title bar by navigating to Form Setup -> Sizing -> Sub-Dialog -> Hide Title Bar. By doing this, you could force the user to interact with a standard form button to exit the form and run some additional logic after.
The resulting Form after checking the Hide Title Bar option.
Note: The title bar within a Form will always appear while in the Debugger.
Hope this helps!
Howdy, Stranger!
Categories
- 4.3K All Categories
- 74 General
- 12 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions