RAG Member Licensed User Longtime User May 17, 2012 #1 Hello I try using a Spinner like in other languages combo. In comparison in HTML the 'select' get a 'text' and 'value' the id in database. I put a text in the items and a value correspond to a id in database when i give the item selected by the user, i got the value instead text. HTML: Copy <select name="select"> <option value="cod1">Item 1</option> <option value="cod2">Item2</option> </select> How can i do this using a Spinner?[/SIZE]
Hello I try using a Spinner like in other languages combo. In comparison in HTML the 'select' get a 'text' and 'value' the id in database. I put a text in the items and a value correspond to a id in database when i give the item selected by the user, i got the value instead text. HTML: Copy <select name="select"> <option value="cod1">Item 1</option> <option value="cod2">Item2</option> </select> How can i do this using a Spinner?[/SIZE]
NJDude Expert Licensed User Longtime User May 18, 2012 #2 This is one way of doing it, see attached sample. Attachments SpinnerSample.zip SpinnerSample.zip 6.7 KB · Views: 367 Upvote 0
RAG Member Licensed User Longtime User May 18, 2012 #3 NJDude said: This is one way of doing it, see attached sample. Click to expand... Got it. The spinner has no "value" as in other languages, i need create another object as a "twin" of the spinner, in which the index coincide. I appreciate the help =) I will do so. Upvote 0
NJDude said: This is one way of doing it, see attached sample. Click to expand... Got it. The spinner has no "value" as in other languages, i need create another object as a "twin" of the spinner, in which the index coincide. I appreciate the help =) I will do so.