Last updated on
17 May 2021
|
Also applies to Communiqué
Issue
You want to catch a Save event in your dialog (for example, when you want to do custom validation of the fields in dialog box).
Solution
Use the "savecallFile" parameter in your dialog.any file. See the cfclib.pdf file that comes with default installation under docs/development folder. For example:
/Type "Dialog" /savecallFile "cfcdemo/checkInput.qhtml" /Sub { /tabDialog { /Type "Tab" /Sub { /tabPage1 { /Type "TabPage" /text "Input" /Sub { /atomline1 { /Type "AtomLine" /title "Enter Values" /subEnd "<br>" /Sub { /text1 { /Type "Edit" } /text2 { /Type "Edit" } } } }