/*
(C) Copyright MarketLive. 2006. All rights reserved.
MarketLive is a trademark of MarketLive, Inc.
Warning: This computer program is protected by copyright law and international treaties.
Unauthorized reproduction or distribution of this program, or any portion of it, may result
in severe civil and criminal penalties, and will be prosecuted to the maximum extent
possible under the law.
*/



// This file will contain selectors and validation logic for all OOTB forms.
// For each form, there will be a call to function ClientSideValidate(...) to pass information
// about form selector and form validation options

ClientSideValidate('form[name="basketForm"]', {
	rules: {
		qty: {required: true, digits: true, min: 0}
	},
    messages: {
	     qty: "Please enter positive numbers in a quantity field"
	},

	csValidateRemoveOnSubmitHandler: true // will remove onsubmit=".." to disable old JavsScript validation code
});

