Have you ever wanted to have your cake and eat it too?
When a user indicates he/she is ready to purchase a service through my site, they are directed to a page that displays the site's Terms of Use, requiring the user to select a checkbox indicating his/her acceptance of the Terms. Clicking the form's submit button submits to the same page, and a handler at the top then checks if the page is displaying due to a submission to itself and whether the checkbox was checked (my standard error-checking procedure).
If the checkbox was not checked, and error message is displayed as the page re-displays. If the checkbox was checked, I then want to submit some POST data to PayPal (requires data via POST). However, I am stumped on how to do this automatically, without displaying another form/submit button for the user to click.
Any thoughts would be most welcome!!! Thanks!