devknob Posted September 24, 2009 Share Posted September 24, 2009 I am doing some stuff that requires me to have a form name like "http://Your-Website", so that if onblur, the form element is blank, I can replace it with the default text again. Is there a way I can get $_POST to collect form data by ID instead of by Name? This would make what im doing alot easier and I cant seem to Goog the answer for this one. Thanks Link to comment https://forums.phpfreaks.com/topic/175310-solved-make-_post-use-id-instead-of-name/ Share on other sites More sharing options...
corbin Posted September 24, 2009 Share Posted September 24, 2009 No..... It always goes by name. Link to comment https://forums.phpfreaks.com/topic/175310-solved-make-_post-use-id-instead-of-name/#findComment-923924 Share on other sites More sharing options...
devknob Posted September 24, 2009 Author Share Posted September 24, 2009 ok, I dropped id, and im using input titles to replace the text instead. Didnt know input could have titles =) Link to comment https://forums.phpfreaks.com/topic/175310-solved-make-_post-use-id-instead-of-name/#findComment-923928 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.