July 30, 200818 yr Hi All Putting a form onto a web page is easy enough, see coding below. However, when a prospective client 'pushes' the submit button, how do i get this info to me? What additional coding to I need? xhtml: <form action="/cgi-bin/guestbook.pl" method="get"> <fieldset id="signup"> <label for="first"> Full Name:</label> <input type="text name="firstname" id="first" /><br /> <label for="first"> Your Email address:</label> <input type="text name="firstname" id="first" /><br /> <label for="first">Est. # of pages for website:</label> <input type="text name="firstname" id="first" /><br /> <label for=""nick">Your nickname: </label> <input type="text" name="nickname" id="nick" /><br /> <label for="desc">Famous for:</label> <textarea rows="10" cols="25" id="desc">Keywords for your business and/or for your Personal page:</textarea><br /> <input type="submit" value="submit" id="subbutton" /> </fieldset </form> </div> css: fieldset { font-family: Verdana, Ariel, Helvetica, sans-serif; font-size: 12px; background-color: #CCCCCC; padding: 12px; border: medium double #666; width: 30em; } label { width: 6em; float: left; text-align: right; margin: .5em 1em; clear: both; } input, textarea { float: left; margin: .5em 0; width: 250px; } #subbutton { float: none; width: auto; margin-bottom: 1em; margin-left: 7em; clear: both; } br { clear: both; } Your help is 'urgently' needed Best regards luigie
July 30, 200818 yr http://www.webdesignerforum.co.uk/index.php?showtopic=7143 That thread might help you out
July 30, 200818 yr The users input is being sent to /cgi-bin/guestbook.pl that is where you would then process it. What have you coded in there?
July 30, 200818 yr Author The users input is being sent to /cgi-bin/guestbook.pl that is where you would then process it. What have you coded in there? hi Ed_Stivala aha! I get it, the pennies dropped. I've got a sub directory called cgi-bin (been wondering what it was meant for). The folder is empty, is there anything I have to put into the directory to 'catch' all the info that is downloaded? Best regards luigie
July 30, 200818 yr Given how you have marked up your html, then you need a program written in Pearl called guestbook.pl put in your cgi-bin directory that takes the input fields from the html form and does what ever you want with them. My advice is to read the thread that Dizzi recommended, decide what you want the form to do and then either learn how to write some code or hire someone to write it for you.
July 30, 200818 yr yup if it is just a simple contact form you are after then the best thing to do is use the thread I linked to as there is a tutorial on how to do one in there. If you want the forum to do something else then say in this thread and someone would be be able to point you in the right direction
Create an account or sign in to comment