Re: [QuickForm] input text readonly

From: Date: Tue, 11 Oct 2005 09:44:08 +0000
Subject: Re: [QuickForm] input text readonly
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21350@lists.php.net to get a copy of this message
Damien Cros wrote:
I have a form with several input text that I want to be readonly. The right html syntax is: <input type="text" readonly>
Actually, the right syntax is: <input type="text" readonly="readonly" /> that is good for both HTML and XHTML. Of course, you can do it with array('readonly' => 'readonly') in the parameters of addElement() -- Massimiliano Arione http://garakkio.altervista.org

« previous php.pear.general (#21350) next »