Set them to visibility:hidden
and position:absolute
instead. The fields will not be sent to the server with display:none
, but will be with visibility:hidden
. By also toggling “position” to “absolute” you should get the same visual effect.
Update This does not appear to be an issue anymore in any current browser (as of Nov of 2015). Fields are submitted even if display is set to ‘none’. Fields that are ‘disabled’, however, will continue to not be submitted.