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

Subscribe to our news:
Partners
Testimonials
Roger Brown: "Great product. The more I work with it, the more I am amazed at what it can do".
Simon Greener: "A lot of work went in to designing our application database. PHP Generator allowed us to build a fully functional, professional looking, and functionally powerful web application from that database. It has freed us from worrying about low level code, enabling us to focus on the business requirements of the customer. The support provided is excellent with staff quickly producing answers to questions ranging from newbie to simple or complex. I highly recommend the product".

More

Add your opinion

PostgreSQL PHP Generator online Help

Prev Return to chapter overview Next

setPlaceholder

Specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format). The short hint is displayed in the input field before the user enters a value.

 

Signature:

function setPlaceholder(value)

 

Example:

To add a placeholder to an Insert form depending of the entered first name, place the following strings to the OnInsertFormValueChanged.

 

if (editors['first_name'].getValue() == 'John')

{

    editors['last_name'].setPlaceholder('Hi, John! Enter here your surname :).');

}

 

 

 

See also: getPlaceholder



Prev Return to chapter overview Next