When the submit button is clicked it goes to the wrong page

  • Profile Image
    twinlover
    Asked on June 03, 2014 at 07:02 PM

    When a user selects a purchase, everything works as it should, i.e. they are directed to the PayPal site for payment. If they click on the submit button (titled "Go to secure payment page") without clicking on an item to purchase they are taken to a "Thank You" page. If they click the button without having selected an item, I would like them to be directed to a page that tells them, "You didn't select an item to purchase"

  • Profile Image
    twinlover
    Answered on June 03, 2014 at 08:58 PM

    I figured out a way to make it do what I want.

  • Profile Image
    jedcadorna
    Answered on June 04, 2014 at 03:02 AM

    Just make the payment field required then user won't be able to submit without selecting an item in your purchase menu.