Jump to content

Form Submit if the fields are hidden


harshpandya
 Share

Recommended Posts

I believe there maybe a problem with IE, use visibility:hidden; may work, i know using position relative; or absolute with left:-9999em, which take them of the screen viewport will work.I know i had problems with radio inputs, checkboxes that where hidden using display none, when trying to pass values using post or get

Link to comment
Share on other sites

Would it work if the fields were not in a hidden div, but they were <input type="hidden"> ? I can imagine a form where the user inputs data, and then for some reason you hide the inputs before you send them. But if this is a case where the input data is always meant to be hidden, and this is the reason you are hiding the div, then <input type="hidden"> sounds like the better solution.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...