| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
I ain't afraid of no post
Join Date: Mar 2004
Location: Bradford, Uk
Posts: 416
|
Form creation
Hi there, just wondering if anyone can give me some advice on setting up a form in Dreamweaver. I have been given this brief to design a form similar to this: http://www.rightmove.co.uk/edit_sear...h=Start+Search and I was just wondering how would I go about doing a form like this? Any help would be much appreciated. Cheers, Damion. |
|
|
|
|
|
#2 (permalink) |
|
Super Individual
Join Date: Apr 2005
Location: Sydney / Stockholm
Posts: 374
|
The form itself are one of the most basic HTML you can do. You can probably find it on every html help page on the web - go look. Dunno about the script behind it though .. it all depends on what you want to do with it. |
|
|
|
#3 (permalink) |
|
I ain't afraid of no post
Join Date: Mar 2004
Location: Bradford, Uk
Posts: 416
|
Can anyone else help. I don't have much experience about scripts. I have had a look on the web but alot seem to ask for money. Don't know if anyone as got any links for free scripts. I can create a form easily in Dreamweaver but when I set it up to 'mailto' something it doesn't appear to send all the relevant information when you press send in a browser. Seems strange! |
|
|
|
#4 (permalink) |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,335
|
Damion, does your webhost support php? If so, this would be a good opportunity for you to start learning, as form processing is easy. This tutorial may be useful - http://www.apptools.com/phptools/forms/ |
|
|
|
#5 (permalink) |
|
Work faster microphone ..
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,709
|
if you have PHP enabled - http://www.phorm.com/ will make your life easier.. |
|
|
|
#7 (permalink) | |
|
I ain't afraid of no post
Join Date: Mar 2004
Location: Bradford, Uk
Posts: 416
|
Quote:
heres the code Search Area:</span> Bradford </p> <form action="mailto:elsonpashley@blueyonder.co.uk" method="post" name="propsearch" target="_blank" id="propsearch"> <p><span class="style1">Type of Property</span> <select name="property" class="style2" id="property"> <option value="No Preference">No Preference</option> <option value="Houses">Houses</option> <option value="Flats/Apartments">Flats/Apartments</option> <option value="Bungalows">Bungalows</option> </select> </p> <p class="style1">Minimum Bedrooms <select name="minbeds" class="style2" id="minbeds"> <option value="no preferences">no preferences</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5 or more">5 or more</option> </select> </p> <p class="style1">Minimum Price <select name="minprice" class="style2" id="minprice"> <option value="£20,000">£20,000</option> <option value="£30,000">£30,000</option> <option value="£40,000">£40,000</option> <option value="£50,000">£50,000</option> <option value="£60,000">£60,000</option> <option value="£70,000">£70,000</option> <option value="£80,000">£80,000</option> <option value="£90,000">£90,000</option> <option value="£100,000">£100,000</option> </select> </p> <p class="style1">Maximum Price <select name="maxprice" class="style2" id="maxprice"> <option value="£20,000">£20,000</option> <option value="£30,000">£30,000</option> <option value="£40,000">£40,000</option> <option value="£50,000">£50,000</option> <option value="£60,000">£60,000</option> </select> </p> <p class="style1"> <input name="Send" type="submit" class="style2" id="Send" value="Send"> <input name="Clear" type="reset" class="style2" id="Clear" value="Clear"> </p> </form> </td> |
|
|
|
|
#9 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,273
|
form action="mailto:" isn't right is it ?? It needs to be something like : <form enctype="form-data" action="formmail.php" method="post" > The action is the path to the script which will process the form info... And then the formmail script will deliver the info to the recipient address.... Don't think you can use mailto in forms at all - just as simple email links. Jacks Formmail (google it) is a free script that comes in PHP or CGI formats (i think) - as long as your server is equipped accordingly you should be fine with that fuck signatures
|
|
|
|
#12 (permalink) |
|
unusual suspect ™
Join Date: Jul 2004
Location: DE, USA
Posts: 2,780
|
Yeah, mailto: is the old basically pants way of doing it that doesn't even work if your visitor isn't using the right e-mail software. Damion, if you really can't work out PHP - and do try because it's really worth having at least a grasp of - go to www.cutandpastescripts.com - can't recommend them enough for people that either don't have access to PHP or just can't get a grasp of the basics. It's all free, no ads etc. |
|
![]() |