User_registration form problem
gausarts - August 27, 2008 - 18:34
| Project: | Form Block |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Sorry I once posted on the wrong issue, here http://drupal.org/comment/edit/979466.
I have a problem when trying to merge user registration form into my user-login.tpl page, either through a block administration or embedding directly into it. They did both appear in the page. But when I log in as usual, after hitting the submit button, I always have a message, like Username field is required, E-mail address field is required which all belong to user_register form. It seems that user-login.tpl conflicts with the registration formblock submit button. Am I doing wrong?
Thanks

#1
Yes, if you display the same form on the page twice, it may cause issues if they have the same $form_id. I'd suggest trying to rename the $form_id on the form you are adding with the template file.