For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > November 2004 > Re: [PEAR] QuickFrom and disabeling fields









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] QuickFrom and disabeling fields
Justin Patrin

2004-11-24, 8:56 pm

On Wed, 24 Nov 2004 22:06:11 +0100, Mirco Blitz <blitz@lindworm.de> wrote:
> Hi,
>
> i need to disable form fields (text and advcheckboxes) depending on the
> users rights.
>
> How can I in QF ?
>
> Thanks for yor help.
>


$el =& $form->getElement('name');
$el->freeze();

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com