in reply to Re: Hpw to uncheck one checkbox if some other is checked
in thread How to uncheck one checkbox if some other is checked

No, I would like to have possibility to have more then one checked at the same time. But not "Ej" one in case one or more others are checked.
  • Comment on Re^2: Hpw to uncheck one checkbox if some other is checked

Replies are listed 'Best First'.
Re^3: Hpw to uncheck one checkbox if some other is checked
by roboticus (Chancellor) on Aug 09, 2012 at 19:37 UTC

    SerZKO:

    When one is checked, disable the incompatible ones in your on-click handler. When it's unchecked, re-enable them.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

      Thanks roboticus, but I don't know how to do that, so if you could help...

        Have you tried looking at the CGI.pm documentation?

        If you don't want to reload the page, you will have to learn Javascript.

        SerZKO:

        Sorry, but I don't even know what you're doing: HTML? a GUI? Your post doesn't really make that clear. On the other hand, even if it *did* make it clear, I probably wouldn't be much help as I don't do GUI or Web programming anyway.

        ...roboticus

        When your only tool is a hammer, all problems look like your thumb.

        Hi,

        On pretty much any search engine - javascript checkbutton disable - will give you many choices of web sites to learn how to do this. W3Schools have a nice reference section which I find perfect for looking this stuff up. Don't trust their advice for everything though.

        Actually I find javascript to be very similar to Perl, just a bit more objecty.

        J.C.