Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lou Rofrano on Nov 30, 2007 07:02
open dhtmlx forum
Set Combobox Value With Variable From Request - Using XML

Hello,

I was wondering if there was a way to set the combo box to have a selected value if one comes back from the page before. I have tried using the 'selected' option in the xml code, but that is giving me an error for not well formed code? Has anyone else done this before?

Thanks for all of your help.

Lou
Answer posted by Support on Nov 30, 2007 11:00
"selected" option must work, something simialr to next

<data>
    <option value="1">Some</option>
    <option value="2" selected="true">Some</option>
    <option value="3">Some</option>
</data>

If problem still occurs for you - please provide a sample of xml which cause problems for you.