Re: QuickForm: Checkbox: Ship To/Bill To

From: Date: Thu, 26 Jun 2003 06:17:03 +0000
Subject: Re: QuickForm: Checkbox: Ship To/Bill To
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6250@lists.php.net to get a copy of this message
Hi! Ralph wrote:
How can I implement this using QuickForm? < form name=frmMain> <input type=checkbox name=chkBillShipSame value=1 OnClick="ShipToCopyBillTo()">BillTo information is same as ShipTo </form>
$form->addElement('checkbox', 'chkBillShipSame', null, 'BillTo information is same as ShipTo', array('onClick' => 'ShipToCopyBillTo()'));

« previous php.pear.general (#6250) next »