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

  • twinlover
    Asked on June 3, 2014 at 7: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"

  • twinlover
    Replied on June 3, 2014 at 8:58 PM

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

  • jedcadorna
    Replied on June 4, 2014 at 3:02 AM

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

    When the submit button is clicked it goes to the wrong page Image 1 Screenshot 20