Hi,
I am adding the Highrise API to submit information from a user defined for to highrise (with name / email to create the person and everything else into a note). I'd like to create validation for the User defined from that if my new check box...
/**
* @var Array Fields on the user defined form page.
*/
static $db = array(
"SubmitButtonText" => "Varchar",
"OnCompleteMessage" => "HTMLText",
"ShowClearButton" => "Boolean",
'DisableSaveSubmissions' => 'Boolean',
'SendResultsToHighrise' => 'Boolean' //<---- new check box, also added on the submission page
);
when this is checked the form is required to have three fields firstname, lastname and email - how would I add this in a validator?