Capture Save event in dialog

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

 Adobe

Get help faster and easier

New user?