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

Subscribe to our news:
Partners
Testimonials
Tony Broadbent: "Such a great product! I have been struggling to hand craft pages which, with your PHP Generator, I created beautifully within 5 minutes of downloading it".
Steven Langfield: "I wanted to drop you a mail to say how freaking AMAZING your software is. It will be the best £100 I have ever spent. I have still to read all your documentation to take full advantage but what you have created is truly amazing".

More

Add your opinion

PHP Generator for MySQL 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