CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Make a checkbox read only??

Print topic Send  topic

Author Message
kmc
Posted: 08/12/2001, 6:27 PM

From MS Access, ASP and Templates.
Want to show a checkbox in grid - but as readonly, without edidting
templates.
Default presentation shows useable checkbox - allows clicking and clients
regularly believe this is a 'change' to the status of the box.
They are alarmed when revisit shows checkbox at 'old' status.

Clues anyone?



kmc
Posted: 08/12/2001, 6:55 PM

Or, better put,

How may I get the "DISABLED" attribute into the generated HTML output rather
than having to edit the HTML template for each checkbox field?

TIA
kmc


Alexey Alexapolsky
Posted: 08/13/2001, 1:48 AM

use javascript to disable checkboxes.
place this js in Page/Footer section

--
Alex

kmc <kmcook@tasmail.com> wrote in message
news:9l7c37$kr1$1@news.codecharge.com...
> Or, better put,
>
> How may I get the "DISABLED" attribute into the generated HTML output
rather
> than having to edit the HTML template for each checkbox field?
>
> TIA
> kmc
>
>
>

kmc
Posted: 08/13/2001, 2:21 AM

Found a way to do what I wanted, but the state of a disabled checkbox can be
hard to determine in some color schemes, so have changed checkbox to a
solid/open bullet display in the Open event for the form(s).

Thanks Alexey, I'd like to do javascript clevers - but that's something I'm
about to start learning, after my vbscript comfort zone arrives.... not far
now...

Thanks.
kmc


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.