CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 PHP - Disable checkbox programmaticaly

Print topic Send  topic

Author Message
Ziggetty
Posted: 01/26/2003, 3:22 PM

hi all,

how do i disable a checkbox for a row.
In the showbefore row i do some test, and then i want to disable the
checkbox.

must be simple :-) , but not awake or overlooking something.


thanks,

bob
Ziggetty
Posted: 01/28/2003, 12:16 PM

solved , with the help of 'yes'

dacht wel in de goede richting, maar .......


in ieder geval checkbox is disabled:

add var in html template

<input class="GrayInput" name="{CheckBox1_Name}" type="checkbox"
value="1" {CheckBox1} {disabled}></p>

en in beforeshowrow een beetje code

global $Tpl;
$Tpl->SetVar("Disabled","disabled");

en dat dan ergens binnen cond.

tis zo simpel als je weet hoe

sorry for my dutch in between
RonB
Posted: 01/30/2003, 10:45 AM

geeft niet, zo zoe je af en toe ook eens dat er nederlanders zijn die dit
programma gebruiken :-)

Ron


"Ziggetty" <ziggetty@zwallet.com> schreef in bericht
news:b16ofb$31b$1@news.codecharge.com...
> solved , with the help of 'yes'
>
> dacht wel in de goede richting, maar .......
>
>
> in ieder geval checkbox is disabled:
>
> add var in html template
>
> <input class="GrayInput" name="{CheckBox1_Name}" type="checkbox"
> value="1" {CheckBox1} {disabled}></p>
>
> en in beforeshowrow een beetje code
>
> global $Tpl;
> $Tpl->SetVar("Disabled","disabled");
>
> en dat dan ergens binnen cond.
>
> tis zo simpel als je weet hoe
>
> sorry for my dutch in between


   


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.