November 19, 200916 yr Hi guys, Does anyone know of a good resource for a professional contact form? I need something that holds the script (preferably php) externally and not on the actual contact page. I also need it to be easy to style and to add extra fields. I am in danger of losing a client as I cannot develop a form myself due to the fact I am not a developer and do not want to rely on some 'free contact form' that takes ages to load and uses old, rubbish code. Any help would be massively appreciated. Out of interest, how much would a developer charge to build me a form such as the above that I can use? Sam
November 19, 200916 yr Not sure what you mean by "professional contact form". I built only one contact form in PHP for a client, here you can find it: contact form If this is something you're looking for, let me know. I'll drop you an email with the form and code attached.
November 19, 200916 yr Hi sam Here is a contact form with various fields and the css it is easily customisable using the css, I can also provide the .php code to process the form. <form action="mail.php" method="post"> <fieldset> <legend> Contact Form </legend> <ol> <li> <strong >Name:</strong><br/> <input type="text" size="30" /> </li><br/> <li> <strong>E-Mail Address:</strong><br/> <input type="text" size="30"/> </li><br/> <li> <strong>Please select service:</strong><br/> <select name="topic"> <option selected>select service </option> <option value="Web Design">Web Design</option> <option value="SEO">SEO</option> <option value="Database">Database</option> <option value="E-commerce">E-commerce</option> <option value="CMS">CMS</option> </select> </li><br/> <li> <strong >Message:</strong><br/> <textarea name="message" cols="25" rows="5"></textarea> </li><br/> </ol> <input type="submit" name="submit" id="submit" value="Submit" class="btn" /> </fieldset> </form> CSS fieldset { margin-top:400px; margin:340px 0 0 0px; padding:0; color: #FF9900; border:solid 2px #AF1F38; font-family: Calibri; width:40%; } label { float:left; width:10em; margin-right:1em; font-weight:bold; font-family: Calibri; } legend { margin-left: 1em; color: #4E1D16; font-weight:bold; font-size:24px; font-family: Calibri; color:#AF1F38; } fieldset ol { padding: 1em 1em 0 1em; list-style:none; } fieldset li { padding-bottom:0; } fieldset.submit { border-style:none; } input { background-color: #FFFFFF; color:#AF1F38; font-family: Calibri; font-size: 10ppt } input:hover { background-color: #CCCCCC; } option { background-color:#E6E6E6; color:#AF1F38; font-family: Calibri; font-size: 12pt } select { background-color: #FFFFFF; color:#AF1F38; font-family: Calibri; font-size: 12pt; } select:hover { background-color: #CCCCCC; } textarea { background-color: #FFFFFF; color:#AF1F38; font-family: Calibri; font-size: 12pt } textarea:hover{ background-color: #CCCCCC; } Pat
November 19, 200916 yr Author Hi Pat, Thanks for the reply. That looks great. Do you have the php code to process the form? Would be much appreciated. Sam
November 19, 200916 yr hi Sam heres the file just alter the email addresses and http addresses Quite an old bit of code with a fair few security issues (may not work on PHP5+ and will not work on PHP6+) LA's are disabled by default on PHP5.
November 19, 200916 yr Quite an old bit of code with a fair few security issues (may not work on PHP5+ and will not work on PHP6+) LA's are disabled by default on PHP5. Agreed, it is still working with php5 Pat
November 19, 200916 yr Author Not sure what you mean by "professional contact form". I built only one contact form in PHP for a client, here you can find it: contact form If this is something you're looking for, let me know. I'll drop you an email with the form and code attached. Hi EagleFreelance, it would be great if you could send over the code. The form looks exactly what I need. Would you mind doing this? Sam
November 19, 200916 yr Agreed, it is still working with php5 Pat Yeah some providers enable long arrays( disabled by default php5+)
November 20, 200916 yr Hi EagleFreelance, it would be great if you could send over the code. The form looks exactly what I need. Would you mind doing this? Sam Sure, when I get back home I'll upload the code and give you a link.
November 21, 200916 yr Author Sure, when I get back home I'll upload the code and give you a link. Thanks very much. Sam
November 23, 200916 yr Thanks very much. Sam Hi , I totally forgot about the form , you still need it ?
November 23, 200916 yr Author Hi , I totally forgot about the form , you still need it ? Hi, yes it would be great if you could send me the code. Thanks, Sam
November 23, 200916 yr Hi, yes it would be great if you could send me the code. Thanks, Sam Here you go mate : http://www.eaglefreelance.co.uk/contactPHP.rar
Create an account or sign in to comment