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.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