|
|
 Shmuel | 2008-11-16 11:56:09 |
Hi,
How can I make an input field read-only (just one field, not the whole form)?
Thanks,
Shmuel
|
| |
2. Re: Read-only field |
|
Reply |
|
|
 Manuel Lemos | 2008-11-16 23:38:31 |
| You can just add the input setting the ReadOnly attribute. |
| |
3. Re: Read-only field |
|
Reply |
|
|
 Shmuel | 2008-11-17 09:15:27 |
Hi,
I'm quite new to this, so could you please provide
a code for working example. Couldn't find it in the examples
provided with the class.
Thanks,
Shmuel
|
| |
4. Re: Read-only field |
|
Reply |
|
|
 Manuel Lemos | 2008-11-18 08:03:55 |
It is easy, just add an entry in the array that is passed to AddInput like this:
$form->Addinput(array(
... some attributes ...
'ReadOnly'=>1
)); |
|