public function TripalFieldWidget::validate

3.x TripalFieldWidget.inc public TripalFieldWidget::validate($element, $form, &$form_state, $langcode, $delta)

Performs validation of the widget form.

Use this validate to ensure that form values are entered correctly. The 'value' key of this field must be set in the $form_state['values'] array anytime data is entered by the user. It may be the case that there are other fields for helping select a value. In the end those helper fields must be used to set the 'value' field.

18 methods override TripalFieldWidget::validate()
chado_linker__contact_widget::validate in tripal_chado/includes/TripalFields/chado_linker__contact/chado_linker__contact_widget.inc
chado_linker__prop_widget::validate in tripal_chado/includes/TripalFields/chado_linker__prop/chado_linker__prop_widget.inc
data__accession_widget::validate in tripal_chado/includes/TripalFields/data__accession/data__accession_widget.inc
data__sequence_checksum_widget::validate in tripal_chado/includes/TripalFields/data__sequence_checksum/data__sequence_checksum_widget.inc
data__sequence_widget::validate in tripal_chado/includes/TripalFields/data__sequence/data__sequence_widget.inc

... See full list

File

tripal/includes/TripalFields/TripalFieldWidget.inc, line 124

Class

TripalFieldWidget

Code

public function validate($element, $form, &$form_state, $langcode, $delta) {

}