Hi,

i was wondering does anyone know how to print the legal checkbox etc in a user-register.tpl.php? I was previously using the snippet below for the terms module.

print drupal_render($form['terms_of_use']['terms_of_use']);

Hope all is well,

Evelyn

Comments

fighter75’s picture

hi,

by using legal you have to print [legal]

print drupal_render($form['legal']);

nyleve101’s picture

Hi,

thanks for getting back to me. Is there a way to print it without the label? At present it reads:

Terms and Conditions of Use
Accept Terms & Conditions of Use *

Thanks again,

Evelyn

fighter75’s picture

hi evelyn

I do not really understand but try using css to hide label

exemple

#exemple label {
display: none;
}
fighter75’s picture

hi evelyn

I do not really understand but try using css to hide label

exemple

#exemple label {
display: none;
}
nyleve101’s picture

Thanks for getting back to me, CSS worked great.

Hope you're well and taking care of yourself,

Evelyn

robert castelo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)