You are here

function _clientside_validation_set_title in Clientside Validation 7

Set validation rule for number fields.

27 calls to _clientside_validation_set_title()
clientside_validation_field_validation_regular in clientside_validation_field_validation/clientside_validation_field_validation.module
clientside_validation_regular in clientside_validation_form/clientside_validation_form.module
clientside_validation_webform_after_build_recurse in clientside_validation_webform/clientside_validation_webform.module
_clientside_validation_set_blacklist in ./clientside_validation.module
Set validation rule for fields that can not consist of one or more specific values
_clientside_validation_set_captcha in ./clientside_validation.module

... See full list

File

./clientside_validation.module, line 553
Add client side validation to forms.

Code

function _clientside_validation_set_title($title) {
  $settings = clientside_validation_settings_current_form();
  return $settings['error']['prefix'] . $title . $settings['error']['suffix'];
}