Display newly added form element at the bottom I altered a form, and I added a $form['priorities'] form element.

Why is it appearing right after the title form element, and not at the bottom of the form? How can I make it at the bottom?
Like KrishaWeb said you need to add a #weight attribute to your new element.

It would look like:

$form['priorities'] = array(
  ...
  '#weight' =&gt; 99,
  ...
);


You can also set weights on the other form elements so the form is explicitly in order.