The pager buttons (Previous, Next) are checked by value, not by id, so if u change the text on the buttons, the pagers will no longer work.
So if one inserts a pagebreak into the form, cannot change the #value of the $form['next'] without breaking the pager buttons of webform.
| Comment | File | Size | Author |
|---|---|---|---|
| webform.module.patch | 814 bytes | Poetro |
Comments
Comment #1
Poetro commentedComment #2
quicksketchThis seems like a good approach. In Drupal 5 we didn't have that nice $form_state['clicked_button'] property. There was a patch left in-progress but never finished to customize the next and previous buttons: #241523: Allow back and next buttons to customised.
Comment #3
quicksketchLet's put this into 3.x, which no longer needs to maintain any sort of backwards compatibility with Drupal 5.
Comment #4
quicksketchCommitted to HEAD, apologies this took so long to do. Great patch.