อัปเดตครั้งล่าสุดเมื่อ
21 ธ.ค. 2021
|
และยังใช้กับ 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" } } } }