I am creating a multi-stage form in Drupal 6. For some reason, the id attribute of the form element has an additional “-1” when it first displays the form in step 1.
For example, if the form name is "user registration", the first time you access the form in step 1, the id is "user-registration-1". Then, if I go to step 2, id is "user registration". If I go back to step 1, id will remain "user registration".
I would like to know if there is a way to set the id attribute or prevent Drupal from adding extra "-1".
Thanks.
source share