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.

CommentFileSizeAuthor
webform.module.patch814 bytesPoetro

Comments

Poetro’s picture

Status: Active » Needs review
quicksketch’s picture

This 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.

quicksketch’s picture

Version: 6.x-2.4 »

Let's put this into 3.x, which no longer needs to maintain any sort of backwards compatibility with Drupal 5.

quicksketch’s picture

Status: Needs review » Fixed

Committed to HEAD, apologies this took so long to do. Great patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.