[pmwiki-users] Input form?

Steve Glover steve at fell-services.net
Wed Feb 20 04:01:04 CST 2008


On 20/02/2008, Hans <design5 at softflow.co.uk> wrote:
> Wednesday, February 20, 2008, 1:39:27 AM, pmwiki at 911networks.com wrote:

> But your request to have users only check a maximum of two checkboxes
> will require some custom coding, to check the number of values
> from the checkboxes submitted by a user, and generate an error when it
> exceeds two.

There's a quick and dirty hack, depending on how the options divide:

You can either have two sets of six radiobuttons (this constrains
people to one out of six twice) or have a set of twelve repeated
(maybe labelled choice1 and choice2?)

Of course, anything you can do with a radio button you can do with a
dropdown/select....

Steve

-- 
Steve Glover - posting from gmail



More information about the pmwiki-users mailing list