Let's say I wanted to make sure that someone had completed a specific task before allowing them to continue, how would I do that?
More specifically...
People need to complete an offer that is iframed, and when they do, I get the postback from the cpa company. Once the postback comes through, the database is updated to show they completed the offer. Now, they are given a "Continue" button on my page (not in the iframe) and when they click it, I need to check the database to see if the offer has been completed first.
How can this be done with Javascript? If they have completed it, they'll get to go on to the next page. If they haven't they'll get an error message saying that they must complete the offer first.
Make sense?
More specifically...
People need to complete an offer that is iframed, and when they do, I get the postback from the cpa company. Once the postback comes through, the database is updated to show they completed the offer. Now, they are given a "Continue" button on my page (not in the iframe) and when they click it, I need to check the database to see if the offer has been completed first.
How can this be done with Javascript? If they have completed it, they'll get to go on to the next page. If they haven't they'll get an error message saying that they must complete the offer first.
Make sense?
