Hello,
I’m running up against a ‘Disallowed Key Characters’ error which is being thrown by /system/codeigniter/system/core/Input.php and the reason this is happening is that EE sanitises a string on SAEF/Safecracker input.
I’m using {option_value} to build the checkbox array as it’s a multi select checkbox - my {option_value} contains spaces which is triggering the ‘Disallowed Key Characters’ error.
{options:reg_q5}
{option_name}
<input name="reg_q5[{option_value}]" type="checkbox" value="{option_value}" {checked} /><br />
{/options:reg_q5}
A good addtion to Safecracker would be a sanitised {option_name} placeholder so that it adheres to the function _clean_input_keys in ‘/system/codeigniter/system/core/Input.php’
Thanks
John