Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Hi,I have a button "Save and Pay" that saves an order form and submits the payment to Paypal.How can I validate in the buttons "Client Before" event that the quantity field (co_qty) has a number from 1 to 100??Thanks for your help.
Try something along these lines:
var ctrl=Runner.getControl(1,'qty');var qty=Number(ctrl.getValue());if (qty<1 || qty>100) {// do something}