Home ›
Drupal 7 multistep node forms are easy | drupal4huDrupal 7 multistep node forms are easy | drupal4hu
Submitted by Benjamin Melançon on March 11, 2010 - 10:07am
Link Title and URL:
Drupal 7 multistep node forms are easy | drupal4hu Slap #access = FALSE on form elements you dont want to see in the current step and then set up the Next button with #limit_validation_errors set to the elements you are about to see. The Prev button should get an empty #limit_validation_errors. Should field validation errors bother you, you can nuke those in hook_field_attach_validate.
Comments
Post new comment