Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In order to change the background of the body after a visitor hit the page break button, it would come in handy to have an extra body class, such as "webform-page-[pagenumber]
" for instance.
What would the best way to achieve this?
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedTry implementing hook_form_webform_client_form_alter to add the class yourself. If you aren't familiar with this hook, try the forums or IRC.