user register

Fix for code to customize user_reg

  1. /*
  2.         Implementation of location form_alter: remove location form fields from user_reg form baesd on path
  3. */
  4. function location_form_alter(&$form, $form_state) {
  5.         if ($form['form_id']['#value'] == 'u

code to customize user_reg

  1. /*
  2.         Implementation of location form_alter: remove location form fields from user_reg form baesd on path
  3. */
  4. function location_form_alter(&$form, $form_state) {
  5.         if ($form['form_id']['#value'] == 'u

preview button code in multi-step user register form via hook_form_alter

  1. // copied below code from the print_r of a node_add form
  2.  
  3. // i want to add a PREVIEW button to the user/register page, next to the SIGNUP (SUBMIT) button
  4.  
  5. // my issue is if I just add this code to

preview button code in multi-step user register form via hook_form_alter

  1. // copied below code from the print_r of a node_add form
  2.  
  3. // i want to add a PREVIEW button to the user/register page, next to the
  4.  
  5. // my issue is if I just add this code to the user/register for

Inserting messages into the user register form

  1. function mymodulename_form_user_register_alter($form, &$form_state) {
  2.   $form['mail']['#prefix'] = '<b>'. t("Don't insert a false email or you will not get in!") .'</b>';
  3. }
Syndicate content