I have table fields "qty" and "qtyof". How can I configure field "qty" on add page to be a dropdown box and to auto populate according to numerical value of "qtyof" field - ie if "qtyof" value is "5", "qty" dropdown choices are numbers 1,2,3,4 and 5. Thanks,
Nash, try something like this in Javascript OnLoad event of the page where you need to add this functionality (Add/Edit). This code assumes that qty already is setup as a dropdown box.
ctrl = Runner.getControl(pageid, 'qtyof'); ctrl.on('change', function(e){ num = Number(this.getValue());