Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

MaxDB PHP Generator online Help

Prev Return to chapter overview Next

setReadonly

Sets a value specifying whether the control is readonly. A read-only input field cannot be modified (however, a user can tab to it, highlight it, and copy the text from it). Form elements with the readonly attribute set will get passed to the form processor.

 

Signature:

function setReadonly([true|false])

 

Example:

editors['team'].setReadonly(true);

 

 

See also: getReadonly



Prev Return to chapter overview Next