C
|
cjsaputo author 4/3/2014 |
In order to simplify I have changed the code to: |
C
|
cjsaputo author 4/4/2014 |
With additional testing I have discovered that the discount_price will load but only after I select a different item_id. In order to simplify I have changed the code to: var ctrl = Runner.getControl(pageid, 'item_id'); var ctrl1 = Runner.getControl(pageid, 'List_price'); var ctrl2 = Runner.getControl(pageid, 'item_discount'); var ctrl3 = Runner.getControl(pageid, 'discount_price'); function func() { ctrl3.setValue(ctrl1.getValue()); }; ctrl.on('change', func); I am just trying to load List_price into discount_price when the item_id changes from a drop down. I have copied this structure from other posts and the help, and I cannot get discount_price to load with List_price. |