
Chase Leightone - 2011-09-05 17:10:10
Thank you for this class. If you try to use the checkbox, radio button or select fields, I think we are supposed to use $fldOptions to set the different option values for the field. How are we supposed to do that? I have tried a number of array definitions for $fldOptions in a field, and it always produces an error (or no option values). Can anyone provide a working sample using $fldOptions?
e.g.
$a->fldName = "teste";
$a->fldId = "teste";
$a->fldType = "checkbox";
$a->$fldOptions = array('Language'=>'English', 'Language'=>'Portuguese');
$a->cssStyle ="color:red;";
$a->fldValue= "foi";
$a->getField();