I’m trying to us a drop down list for the qty in QuoteValet, so I can restrict the client to a set of specific quantities.
Looking at the resultant html when using a textbox, it uses a name of DI_QtyBase___n, where n is the line number starting from 0.
So I have the following code to create a dropdown list for the first line on the quote.
<select name="DI_QtyBase___0" id="DI_QtyBase___0" type="number">
What’s happening is that is appending the selected value to the existing value.
What’s even more strange, is if I have more than one product, ie I have 3 products with qty’s of 1, 1 & 2, and have the select box on the first product, and change the 1 to a 3 I get 1312.
Anyone have any ideas?
You can use the "InputType=DropDownList" macro attribute to accomplish this.
In your example I believe the following should do it for you:
Thanks, I'll give that a try