|
|
|
| Project Title: | Quick PHP MySQL Form and Refer-a-Friend Help
Chosen Freelancer: itsols 
|
 |
 |
| Started By: | nathanwburke - Rating:         
(1 review) |
| Status: | Closed Aug 22 2009 @11:17 |
| Created: | Aug 22 2009 @09:07 |
| Expires: | Aug 23 2009 @09:07 (expired) |
| Budget: |
Maximum $ 300 |
| Project Category: |
- Web Development & Promotion -> PHP / MySQL
|
| Description: |
Here's the project:
I have a form set up at on a page that lets a user sign up for a contest. You'll see all the required fields marked with an asterisk. Once you fill out the form, three things happen:
1) The information is sent to a mysql table
2) An email is sent to the entrant thanking them for entering, and asking them to refer a friend
3) They are brought to a thank you page
This is both the thank you page and the refer-a-friend page.
On the refer-a-friend page, we want the person to enter up to 10 email addresses to send to their friends. Then, we want to send the following html email to the friends:
[will send url]
Outstanding functionality needed:
1. Required field checking- Though my script currently checks to make sure all required fields are entered, there's no visual notification on the form itself saying "fill in this field". Ideally, I'd like to highlight the field that wasn't filled in.
2. Once you fill in the form correctly currently, you're sent to a page that says "click here to continue". That has to go away. What I'd like is this:
a) user submits form
if the user's email address is already in the db {
Redirect to: URL/sorry.html
}
If the user's email address is not already in the db {
Redirect to: URL/thank-you.html
}
b) Once at the Refer-a-friend form, they fill out their friends' information and
1) that info goes into the db with their friend's ID as their referrer
2) their friend gets an email with a link to sign up
3) they get redirected to a thank you page- URL/TAFthankyou.html
c) When someone gets the refer-a-friend email, they click the link and they're brought to the registration page (URL/indexw.html or a copy of it in php so we can GET the variables from the link they clicked) where their name and email area already populated.
d) On the refer-a-friend form, when someone clicks submit without entering any information in the form, they should get an error that says "Please provide your friend's First Name and email address. Thank You"
In the db, once they've signed up, we can see which entrant referred them.
This needs to be done before 10 am tomorrow. This is mostly tweaking what I already have, and I'll show you what I mean.
|
| Payment Methods: |
- To be Negotiated with Winning Bidder
|
 |
View Message Board for this Project -
Post a Message for nathanwburke
|