Three or more page breaks and mandatory fields prevents the form from being submitted.

wundo - July 14, 2008 - 18:19
Project:Webform
Version:6.x-2.1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hi,
I'm having problems with Webform 6.x and webforms with several steps (more than 1 page breaks).

If I put a mandatory field in all steps, I can go from first to second, but it doesn't allow me to submit from second to third, saying that the mandatory fields from the third step were left empty.

#1

quicksketch - July 23, 2008 - 01:38
Status:active» needs review

Thanks, looks like I haven't been checking in Drupal 6 for required fields before moving the user to the next or previous page. Could you try out this patch and see if it corrects the problem?

AttachmentSize
webform_multistep_errors.patch 1.15 KB

#2

quicksketch - August 8, 2008 - 04:10
Status:needs review» fixed

I'm pretty sure this'll fix the problem. I've committed it and I'll release the 2.1.3 version shortly.

#3

Anonymous (not verified) - August 22, 2008 - 04:16
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.