I have two Code Checkbox Multiple Selection fields defined. These are the type that present options whose display is dependent on other fields being "not empty" and Ajax updated on those other fields changing. The two fields are setup IDENTICALLY. Both fields present the 2nd option at the same time, so the Ajax part is working correctly and presumably so is the code part. When I check the 2nd option (this is the dynamic one returned from the code) on one of the two fields, it saves correctly. But the second one just WILL NOT SAVE. Everything about the two fields is identical except their names (obviously). I have the same exact setup on another site and it works fine. I am at my wit's end. Any suggestions would be appreciated. I can provide SU access to CB team members if necessary.
Edit: Since it may matter (though I doubt it since this works in the identical field), here is the field code:
Code:
$options = array();
if ( filter_var($user->cb_email2,FILTER_VALIDATE_EMAIL ) ) $options['Email #2'] = 'Email #2';
return $options;
Thanks in advance.
Bruce