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"
}
}
}
}

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy