[pmwiki-devel] Select & Option Dropdown-list Markup

Dominique Faure dominique.faure at gmail.com
Wed Dec 13 02:13:27 CST 2006


On 12/12/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Tue, Dec 12, 2006 at 09:10:20PM +0000, Hans wrote:
> > Tuesday, December 12, 2006, 8:27:40 PM, Patrick wrote:
> >
> > > Not at all! Since all of the (:input jumpform ... :) markups end
> > > up coming one-after-another in sequence in the pagelist, it ends up
> > > generating a single form (just like a bunch of input select markups
> > > end up producing a single <select>...</select> box).
> >
> > > See http://www.pmwiki.org/wiki/Test/JumpBox for a working demonstration.
> >
> > That looks good. Quite a tricky markup!
> >
> > would it be possible to take the sub,it button and form end out of the
> > $InputTags['jumpbox'] array and put it manually behind, for user
> > customisation, i.e. different button label etc?
>
> One can put just the <select>...</select> definition into
> the $InputTags['jumpbox'] customization.  Then authors can
> set up the form and buttons however they wish using the (:input...:)
> markups.
>
> However, this also means that they have to remember to
> add the form and buttons by using the (:input:) markups, and
> the pagelist template is a little more complex.
>

As you both:
* introduced some javascript code,
* embed the submit button,
could you also add a dash of javascript to hide this last submit
button (which is only required for javascript-disabled browser)?

Dom



More information about the pmwiki-devel mailing list