Time field forced mandatory in Drupal 5

polok120 - July 13, 2008 - 09:49
Project:Webform
Version:5.x-2.1.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

even though i create fields that i select as not being mandatory when submitting a webform my users are still obligated to select the fields that aren't mandatory any idea???

#1

polok120 - July 13, 2008 - 10:07

to be exact it the Time Field.....i have a start time which is mandatory, and then i have a End time which is optional. But the problem is that even though the end time isn't mandatory drupal still acts like it is and wont let me submit the webform without adding an end time

#2

quicksketch - August 8, 2008 - 04:25
Title:Mandatory fields» Time field forced mandatory in Drupal 5
Priority:critical» normal
Status:active» fixed

Thanks, I completely rewrote that validation code for time component in the Drupal 6 version, but looks like it never made it into the Drupal 5 version. I created a backport of the code that I committed to the Drupal 5 version that'll be included in the 2.1.3 version I'm releasing shortly.

Here's the D5 Diff:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/webform/compo...

#3

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

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

 
 

Drupal is a registered trademark of Dries Buytaert.