// the fields current value currentValue = attributes.currentValues[fqFieldName]; // the param structure which will hold all of the fields from the props dialog xparams = parameters[fieldQuery.inputID]; // reset the currentValue to the currentDefault try { // if there is a user defined function for the default value if( xParams.useUDef ) currentValue = evaluate(xParams.DEFAULTVALUE); else // standard text value currentValue = xParams.DEFAULTVALUE; } catch( any e) { ; // let the current default value stand } // find if we need to render the simple form field renderSimpleFormField = false; if ( (StructKeyExists(request, "simpleformexists")) AND (request.simpleformexists EQ 1) ) renderSimpleFormField = true;