hkothari Posted October 27, 2009 Share Posted October 27, 2009 If I have a html form with 5 elements and I fill in 4 of them and submit it to another page. When I check to see which post values are there, will the 5th empty element also be there? Link to comment https://forums.phpfreaks.com/topic/179171-solved-do-html-forms-post-empty-fields/ Share on other sites More sharing options...
supergrame Posted October 27, 2009 Share Posted October 27, 2009 well i don't no the theory behind it but to my logic I would say as there is no data in the field what is there to post. but im a newbie so yea don't take my advise to seriously Link to comment https://forums.phpfreaks.com/topic/179171-solved-do-html-forms-post-empty-fields/#findComment-945269 Share on other sites More sharing options...
cags Posted October 27, 2009 Share Posted October 27, 2009 Depends on the <input type of the field. Text elements will appear in the array but with an empty value, checkboxes, radio buttons etc don't appear. Link to comment https://forums.phpfreaks.com/topic/179171-solved-do-html-forms-post-empty-fields/#findComment-945286 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.