form2js icon indicating copy to clipboard operation
form2js copied to clipboard

<input disabled="disabled" /> not being captured

Open boxxxie opened this issue 13 years ago • 1 comments

when i set input boxes to disabled, i still want to capture the value of the box.

boxxxie avatar Oct 11 '11 15:10 boxxxie

Disabled field not sent on form submission, so it's not serialized. However you can use callback function which returns name/value pair for disabled fields (see "Custom Fields" example).

Probably it makes sense to add such option (skipDisabled).

maxatwork avatar Oct 11 '11 17:10 maxatwork