View Full Version : Creating submit form with php
tarnold4
03-03-2015, 01:04 AM
I am trying my shot at creating a webpage by myself and I wanna create a submit form, with a submit button. I want all the information below to be in the submit form.... Help would be wonderful
Last Name (last, text)
First Name (first, text)
Street Address 1 (street1, text)
Street Address 2 (street2, text)
City (city, text)
State (state, text)
Zip (zip, text)
Phone (phone, text)
Fax (fax, text)
Email (email, text)
Verify Email (verify_email, text)
How did you find us? (marketing, select)
1. Mailing
2. Phonebook
3. Search Engine
4. Phone Call
5. Word of mouth
6. Other
Type of request (request_type, radio)
Quote
Information Request
Quote/Request (request, textarea)
Beverleyh
03-03-2015, 08:55 AM
What tutorials have you tried from your research on Google?
First you will need to create your form markup with HTML, so maybe try a Google search for "form field markup" so you know what form fields you can use.
You'll also want to look in to processing the form, so try a search phrase for "how to process and submit a form with php".
You could also search for "hosted form builders" - these are 3rd party services that usually have a WYSIWYG form builder and generate the processing script for you.
If, when you've tried a few tutorials, you have a specific problem that you need help with, please feel free to post back with a copy of your markup and the processing script that you are using.
james438
03-03-2015, 03:40 PM
From the list of information you are looking to gather it sounds like you want/need to store your information into a MySQL database. If you want to have something more than a static webpage you will need to set a database up. Your hosting service will have some information on how to set one up. A database is nearly the same as a spreadsheet in how it stores information and will greatly enhance the versatility of your website.
Beverleyh
03-03-2015, 05:50 PM
Good point James :)
If you are thinking of going the database route, you could also look in to using Form Tools http://docs.formtools.org/userdoc2_1/?page=what_form_tools_does
molendijk
03-04-2015, 03:25 PM
Beverley, Norton tells me not to go there, because it may be a phishing site.
Beverleyh
03-04-2015, 03:36 PM
What? The Form Tools website?
I'm not getting any flags here. It's a legit website - been visiting/using Form Tools on various projects for the last 7 years :)
molendijk
03-04-2015, 04:38 PM
Well, I got the warning when I clicked on your link. It's probably a Norton-mistake
jscheuer1
04-06-2015, 01:03 AM
I've found that help sites often get flagged as phishing because the examples/demos they show sometimes appear to (a bot) to represent things other than what the primary purpose of the site is about. My site was once blacklisted by one of these rating agencies due to my countless demos that use other folks' pages with a base href tag to show them how to do things and/or prove that something can be done with their page. I complained to the rating agency and was removed from the list. But for about a month I had an 'official' (according to them) phishing site.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.