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
- 2.1K All Categories
- 17 General
- 154 Installation / Setup
- 988 Flows
- 86 Rules
- 199 Administration
- 203 Portal
- 430 General Q & A
- 596 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 137 Pages
- 1 Process Mining
- New Features
- 147 Datastructures
- 49 Repository
- 165 Integrations
- 25 Multi-Tenant
- 21 SDK
- 39 Modules
- 36 Settings
- 19 Active Directory
- 12 Version 7
- 34 Version 8