Basic Scheme

The basic scheme was to adapt the code found at this website: so it could be called and work with any pair of select and input boxes. Noddy stuff maybe was new to me so I thought I would share.

The Group

This forms the list of items for the drop down. From what I can tell, the <noautolink> is needed if the items in the list resolve to WikiWords which names of registered wiki users do.


The Form

A simple HTML form and the use of onclick to update the input variable with the current state of the selection.

Second form

This shows a second form working independantly using the same JavaScript function.

You might like to look at using FormPlugin - it makes all this stuff simpler smile

-- SvenDowideit - 05 Apr 2009

Thanks for the note. Agreed - but this is for the non-Admins like me who are on systems where the FormPlugin is not installed. I will ask for it....

-- NeilGood - 05 Apr 2009

Updated so it works with IE6 - I needed to a value in for each option and also change onclick to onchange - I got lulled into a false sense of security with Mozilla......

-- NeilGood - 16 Apr 2009

Topic revision: r4 - 16 Apr 2009, NeilGood
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy