Link to home
Start Free TrialLog in
Avatar of Bryant
BryantFlag for United States of America

asked on

Contact Forms for Website

We have are currently updating an existing website to use bootstrap and html 5. There are a few forms needed for the site:  
•         Home page - submits a potential customer’s name and email to our office email
•         Product pages – submits name, email, phone number, item number, quantity, and details to our office email
•         contact us page – submits name, email, uploads a file, and instructions to our office email
The only required fields are name, email, phone number,  item number and quantity.  Validation would be good to have for these forms too.  We were using PHP to do this but got stuck. Search around and tried to use examples from the internet but never could successful send an email.

Does anyone have code that will perform this function or be willing to write it?

Please let me know if I need to provide more information.
Avatar of Eric C
Eric C
Flag of United States of America image

If you're sure your server is running PHP and you have a little bit of knowledge of PHP scripting, your quickest option may be to buy a 'pre-written' form script. Usually they come with instructions on how to install and customize.

Check out:
https://codecanyon.net/search?utf8=%E2%9C%93&term=form&as=1&type=c&category=php-scripts
I think I can help you with what you're looking for, if you're interested in posting a gig on E-E.
ASKER CERTIFIED SOLUTION
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you're new to PHP and want to learn the language, this article can help.
https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html

If you're not interested in learning PHP and just want a quick solution, then E-E Gigs is for you!
Avatar of Bryant

ASKER

I am always interested in learning Ray. I am not in a place to test anything right now. I also plan on posting what I already did, I just wanted to put the question out there early because it might be the middle of the night before I am working on this again. I want to incorporate what Marco (thank you Marco) posted before I do anything else.

I don't know if E-E Gigs is the place for me Ray. I already pay a couple hundred to use the site. I like the old way, if I have a question or get stuck, I can post it about it. People can choose to answer or not and go from there. If I have to pay to use the site and then pay to have a question answered or to be pointed in the right direction then it is not beneficial anymore. I can just walk over to a developer and pick their brain or hire local. Maybe I will consider gigs for a project later when I have zero knowledge of the entire project and not just one part. Considering the lack of sleep, I can probably take a nap and figure it out what is going wrong. Thanks for the other article though Ray.
Avatar of Bryant

ASKER

This worked fine and it helped me to figure some more things out like my host company was blocking my email because of a old version of PHP I had running on my server. You solution works, but I went with what I had. I upgraded PHP on the server and it works fine. Thanks for your time and supplying the information.