function double_field_format_validate in Double Field 7.2
Element validate callback.
1 string reference to 'double_field_format_validate'
File
- ./
double_field.module, line 962 - Defines "Double field" field type.
Code
function double_field_format_validate($element, &$form_state, $form) {
if ($element['#value'] == 'full_html') {
drupal_set_message(t('Using the "Full HTML" format allows HTML to be posted unfiltered. This could represent a severe security risk.<br/>See !link for further information.', array(
'!link' => '<a href="http://drupal.org/documentation/modules/filter">http://drupal.org/documentation/modules/filter</a>',
)), 'warning', FALSE);
}
}