Item8140: Values of checkboxes not submitted with validation enabled

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: FormPlugin
Branches:
Reported By: Foswiki:Main.EnriqueCadalso, HolgerHain
Waiting For:
Last Change By: ArthurClemens
With validation enabled the values on FORMFIELD elements of type checkbox are not passed on submit when mutiple checkboxes are checked. Only the first checked value is passed, so the checkbox field is cleared to be only that first value. Whith validation disabled all valued are passed ok.

-- EnriqueCadalso - 26 Apr 2009

Same here, even if validation is disabled.

-- KerstinPuschke - 16 Jun 2009

I think that the checkboxes as the work in the current version (codebase 1.0.6) are just like bad radio-buttons this topic needs to be an urgent bug. I tried multiple times to get a second value from checkboxes, but it seems that only the first value of multiple checkboxes are submitted.

-- HolgerHain - 26 Aug 2009

I have looked at this but the solution is not easy. I can't promise a quick fix.

I am in the process of a total rewrite of the plugin, and will take this as a requirement.

-- ArthurClemens - 28 Aug 2009

Did a bit of debugging. The line in the generated HTML source which causes this bug is this one:

<input type="hidden" name="FP_submit" value="[name of the form]"  />

Isn´t there an easy way to fix it?

-- PhilippLeufke - 17 Feb 2010

Fixed with release 1.6.

-- ArthurClemens - 26 May 2010

 

ItemTemplate edit

Summary Values of checkboxes not submitted with validation enabled
ReportedBy Foswiki:Main.EnriqueCadalso, HolgerHain
Codebase 1.0.9, 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component FormPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins
ReleasedIn
Topic revision: r7 - 26 May 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy