I need some help adding text to the bottom of the registration form. I've never modified the registration form before and I did not set up this site. Bootstrap Modal is being used for the form. Here is a screen capture of it:

enter image description here

The content needs a check box that must be checked for the submit button to work. Is there a module that can help, or, how do I locate this form to do some modifications?

1 Answer 1


You can always alter any form by hook_form_alter,in your case it would be somewhat closer to following

// Implements hook_form_form_id_alter().
function my_module_name_form_user_register_form_alter(&$form,&$form_state) {
  $form['help_text'] = array(
    '#markup' => 'Your help text will go here',
    '#weight' => $form['mail']['#weight'] + 1; // Or could be a fix value.
  • Thanks for the reply. Where would use this hook? Oct 11, 2016 at 20:05
  • you have to implement this hook in custom module.(drupal.org/docs/7/creating-custom-modules)
    – arpitr
    Oct 11, 2016 at 20:08
  • No. I've never implemented a hook in the custom module. Oct 11, 2016 at 20:23
  • So, in order to modify this form, I'll have to create a custom module? That is something I've been wanting to get to. Thanks for the link. I'll read through it. Any other advise? Oct 11, 2016 at 20:28
  • Thank you, Arpitr, I will try this. I'm working on other parts of the site right now, but, I'll definitely implement this when I get back to it. Oct 13, 2016 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.