Re: Checkbox
| From: | Reuben D. Budiardja | Date: | Wed, 26 Mar 2003 19:26:07 +0000 |
| Subject: | Re: Checkbox | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141113@lists.php.net to get a copy of this message | ||
On Wednesday 26 March 2003 02:11 pm, CPT John W. Holmes wrote:
> >On Wednesday 26 March 2003 01:43 pm, CPT John W. Holmes wrote:
> > > > is it possible to have a checkbox that if it is specified to be
> checked
> > > > when the page is being formulated then it cannot be unchecked?
> > >
> > > No. No... No.
> > >
> > > If you already know you don't want it to be unchecked, then don't show
> > > a checkbox. That's why we have PHP, so you can create your page
> DYNAMICALLY
> > > and not show bits and pieces when you don't need to.
> >
> > Although that is theoretically correct, there can be some reason why one
> would
> > want to display a checkbox anyway. Sometimes it can be clearer for the
> user> > to see the GUI, asthetic reason, etc, etc.
> True. In that case, though, I would just show an image of a checked check
> box. The end result will be the same to the user, they will just think it's
> a checkbox they cannot uncheck.
But isn't it so much easier to type in that one line HTML + javascript than
trying to get an image of a checked check box...... unless you have that
handy, you'd have to eg. take a snapshot, or draw something, then save the
file as an image file.......hmm...
and as you said, the effect will be the same to the user anyway....
RDB