The option Use a graphical replacement for "@" is required which causes validation errors if not selected and checkbox_validate module is enabled.
<?php
$form['spamspan_settings']['spamspan_use_graphic'] = array(
'#type' => 'checkbox',
'#title' => t('Use a graphical replacement for "@"'),
'#default_value' => variable_get('spamspan_use_graphic', 0),
# Drupal does not validate checkboxes natively
// '#required' => TRUE,
'#description' => t('Replace "@" with a graphical representation when javascript is disabled (and ignore the setting "Replacement for @" above).')
);
?>
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | graph_replacement_error.PNG | 6.8 KB | ionmedia |
Comments
Comment #1
ionmedia commentedi have a error than try to save filter settings with spamspan enabled and checkbox uncheked.
how i can fix it ? (anyway, sure with spamspan enabled)
error that the graphical replacement not correctly work with tcpdf in print module.
here is printscreen, there the lines braked
Comment #2
lakka commentedDuplicate of #356425 (which is about to be fixed)