AV1611 Posted November 21, 2007 Share Posted November 21, 2007 I am baffled by this... I have a form with two boxes. The PHP processor I send it to triggers on whichever field is set. I could do this different, but this should work. PROBLEM: The second input button does nothing. zero. zilch. you click it, it shows that the mouse clicks it, but it does nothing. I am baffled. The first button works fine. .....<snip>..... New Part Number: <form name="sform" method="POST" action="tekparteditor2.php"> <input type="text" SIZE="20" name="ADDPARTNO" /> <input type="submit" name="submit" value=" ADD PROVIDED NUMBER " /> </form> Part Number Series: <form name="aform" method="POST" action="tekparteditor2.php"> <input type="text" SIZE="20" name="SERIESPARTNO" /> <input type="submit" name="submit" value=" ADD SERIES NUMBER " /> </form> .....<snip>..... Link to comment https://forums.phpfreaks.com/topic/78276-solved-baffled/ Share on other sites More sharing options...
revraz Posted November 21, 2007 Share Posted November 21, 2007 Try naming them different. Link to comment https://forums.phpfreaks.com/topic/78276-solved-baffled/#findComment-396119 Share on other sites More sharing options...
roopurt18 Posted November 21, 2007 Share Posted November 21, 2007 Works fine for me. <?php if(!empty($_POST)){ echo '<pre>' . print_r($_POST, true) . '</pre>'; } ?> <html><head></head><body> New Part Number: <form name="sform" method="POST" action=""> <input type="text" SIZE="20" name="ADDPARTNO" /> <input type="submit" name="submit" value=" ADD PROVIDED NUMBER " /> </form> Part Number Series: <form name="aform" method="POST" action=""> <input type="text" SIZE="20" name="SERIESPARTNO" /> <input type="submit" name="submit" value=" ADD SERIES NUMBER " /> </form> </body></html> Link to comment https://forums.phpfreaks.com/topic/78276-solved-baffled/#findComment-396123 Share on other sites More sharing options...
AV1611 Posted November 21, 2007 Author Share Posted November 21, 2007 Let me try a different computer/os/browser/etc... Link to comment https://forums.phpfreaks.com/topic/78276-solved-baffled/#findComment-396125 Share on other sites More sharing options...
AV1611 Posted November 21, 2007 Author Share Posted November 21, 2007 Well, I am using ie6 (ie4linux) via wine on Linux... seems that is the problem. I guess you have to validate IE on windows. Thanks anyways. Link to comment https://forums.phpfreaks.com/topic/78276-solved-baffled/#findComment-396128 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.