BlackReef Posted April 19, 2012 Share Posted April 19, 2012 Ok so I already have a "post" action URL, here it is below. <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330"> The idea is to put a simple e-mail form on my personal website: And have the post action to go to the URL above (its a marketing company for email submissions / newsletters) Here is what I have so far, but I know something is not right: <form> <input type="text" /> <input type="submit" /> <form method="post" /> <form action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330"/> </form> Any help would be greatly appreciated. Thank you for your patience with me Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/ Share on other sites More sharing options...
litebearer Posted April 19, 2012 Share Posted April 19, 2012 for starters... method and action go in the first form tag. delete the other form tags (but NOT the closing one). give your text input a name. Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338903 Share on other sites More sharing options...
BlackReef Posted April 19, 2012 Author Share Posted April 19, 2012 Thank you very much for your response. So, it should look like this? <form> <form method="post" form action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330"/> <form input="enter email"/> </form> Thanks again, let me know if Im close ! lol thanks Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338906 Share on other sites More sharing options...
BlackReef Posted April 19, 2012 Author Share Posted April 19, 2012 Im sorry. I believe this is correct, can you confirm? Thanks <form> <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=368&survey_version=1326"> <input type="text" /> <input type="submit" /> </form> Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338911 Share on other sites More sharing options...
Drummin Posted April 19, 2012 Share Posted April 19, 2012 <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=368&survey_version=1326"> <input type="text" name="email" /> <input type="submit" /> </form> Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338914 Share on other sites More sharing options...
BlackReef Posted April 19, 2012 Author Share Posted April 19, 2012 Ok thanks guys, getting much closer now. I really appreciate the help. Now, the last remaining items I have left is to get the submit image to the direct right of the input box, but right now it is appearing as this: and it should look like this: Currently the code is this: <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=368&survey_version=1326"> <input type="text" name="email" /> <input type="image" name="submit" src="/application/modules/default/views/scripts/portlets/joinus.jpg" width="55" height="22"> </form> and my current CSS is this: <style type="text/css"> #footerinputemail { bottom: 50px; height: 36px; position: relative; width: 191px; right: 3px; } input { background-color: #9c9a9c; border: 1px solid #FFF; width: 150px; } </style> Do you guys see where I may be messing this up at? Thank you guys very much for the help on this, it is appreciated Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338923 Share on other sites More sharing options...
BlackReef Posted April 19, 2012 Author Share Posted April 19, 2012 nevermind guys, I think I got it figured out. Thank you so much for your help Quote Link to comment https://forums.phpfreaks.com/topic/261278-very-simple-post-form-in-php-help-please-thanks/#findComment-1338928 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.