4

Form_Set_Error for form validation

http://drupal.org

Hello

Im doing a user-register.tpl.php custom form...and i need to know when the name is leaving blank for example, im doing this:

print drupal_render($form['Info']['name']);

then

$form['submit']['#value'] = "Aceptar";
print drupal_render($form['submit'])

print drupal_render($form);

what can i do to know if the user leaves the name in blank...so i can show the message:"

The name is null...

Any ideas?

Read »
Created by development_seed 2 years 2 days ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Form_Set_Error for form validation

Recent comments