↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | ChanServ sets mode: +o PeterThoeny | [06:39] |
.......................................................... (idle for 4h45mn) | ||
MichaelGulitz has left | [11:24] | |
..... (idle for 22mn) | ||
MichaelGulitz has left | [11:46] | |
..................................... (idle for 3h4mn) | ||
tomc22284 | Hi, Could anyone familiar with TWikiForms give me some tips on getting a select+values Select Box to work? | [14:50] |
.............................. (idle for 2h28mn) | ||
*** | ChanServ sets mode: +o PeterThoeny | [17:18] |
.... (idle for 17mn) | ||
PeterThoeny | tomc22284: select+values is documented at http://twiki.org/cgi-bin/view/TWiki/TWikiForms#Structure_of_a_Form_Template | [17:35] |
tomc22284 | Thanks. I've already had a look there but cannot see how to do what I need. I will elaborate...
My TWiki app is based on ContactDB you showed me earlier. I have a TWiki form with a record for a 'Status' entry as follows; | Status | select+values | 5 | one=1111, two=2222, three=3333 | Select entry status | | | [17:41] |
PeterThoeny | this will show one, two, three in the select, and store 1111, 2222, 3333 on save, respectively | [17:43] |
tomc22284 | For testing purposes I have replaced the formatted search in 'new entry' file, for this field with;
| Status: | <select name="Status"> <option>one=1111</option>, <option>two=2222</option>, <option>three=3333</option> </select> | Now, when I use the 'new entry' topic, I get eg. 'one=1111' in the Select Box and not 'one' which I want. What am I doing wrong? | [17:43] |
........ (idle for 38mn) | ||
Would it help if you had temp. access to my dev/testing TWiki? | [18:23] | |
PeterThoeny | you can't use html in the form definition
oic, that is the the html form in html forms use this: <option value="111">one</option> etc | [18:24] |
tomc22284 | Thanks. With that I'm almost there. In place of the 111 what I really want is things like %ICON{new}% . Do I need some extra escaping? I've already tried $percnt in place of %... | [18:33] |
.... (idle for 16mn) | ||
... I've found that %ICONURL{new}% works nicely here, so I have a complete solution. Thanks again for your help, it is much appreciated. Tom. | [18:49] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |