Sliding PayPal Shopping Cart Support Product Page
Answered
Validate a select field before item gets added to the cart
Asked 31 Oct 2013 16:00:11
1
has this question
31 Oct 2013 16:00:11 Danny Dominguez posted:
I want to validate a select field before the item is added to the cart. For example, if a buyer wants to purchase a t-shirt, I want the buyer to select a size before the shirt is added to the cart. The code below validates the select field but the item is added to the cart.$(function() {
//simple example 1
//click event for first button
$('#btn').click(function() {
$("#form1".valid(); //validate form 1
});
Replies
Replied 01 Nov 2013 10:11:16
01 Nov 2013 10:11:16 Teodor Kuduschiev replied:
Hello Danny,
Unfortunately there is no a validation option integrated in the shopping cart.
Unfortunately there is no a validation option integrated in the shopping cart.