Add static text after Drupal7 submit login button

Dear experts,

I´ve been struggling learning the form api to add content to the login form.
I am trying to add markup after the login button, but it keeps appearing above it.

Here is the markup I have so far:

      function adaptivetheme_subtheme_form_alter(&$form, $form_state, $form_id) {
        if($form_id == 'user_login') {
          //Add the required field(s).
            //  
            $form['name']['#prefix'] =  
            '<div id ="welcome">Welcome!</div>';
            
            $form['submit']['#suffix'] =  
            '<div id ="bpf_footer">This is suppose to go below the login button.</div>
            <div id="footer">
            <p>&copy;  All Rights Reserved.</p>
            <div class="legal-class">
                        <a href="terms">Terms of use</a>
                  </div>
            </div>';
         }
      }

Attached goes an screenshot of the login form. Could you please give me any insight?

Thank you very much,

Winter
Captura-de-pantalla-2013-09-24-a.png
glepizaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

glepizaAuthor Commented:
Ok, I resolved it, it seems that instead of  $form['submit']['#suffix'] = I should have removed the submit parameter : $form['#suffix'] =

:)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Drupal

From novice to tech pro — start learning today.