Categories | Question details Back To List | ||
Combo has Additional Value in ASP Get Method Hello, I'm using the combo in an ASP page. Its name is "option_0". Using the GET method in the ASP form, however, when I submit to the next page, the ASP querystring not only passes a value for option_0, it adds an extra item, like this: ...quantity=1&option_0=0&option_0_new_value=false&.... It's the "option_0_new_value=false" that is causing a problem. Anything I can do about this ? Thanks, Phil Edwards Answer posted on Nov 13, 2007 04:15 This additional field used to show is value selected from list of existing, or typed as new one There is no way to disable it by API, but can be commented in source code dhtmlxcombo.js line 1067 z = document.createElement('input'); z.type = 'hidden'; z.name = name+"_new_value"; z.value="true"; // self.DOMelem.appendChild(z); //this line need to be commented Answer posted by Phil on Nov 13, 2007 13:16 Hi: Fantastic, thank you very much. Phil Edwards |