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

Subscribe to our news:
Partners
Testimonials
Dionys Henzen: "Congratulations! Your MySQL PHP Generator is a great tool, that can save a lot of time and money to a developer! I'll evaluate for sure your software products when I need them. Great job".
Philipp Gerber: "

The product is so easy and super built that you can achieve visible and great success after a short time. Also very much possible with the product. A class product. I'm already looking forward to the next versions and extensions. Keep it up.

Support to the product is just perfect. Each Support request is quickly and very competent solved. Also various assistance, which does not fall into a support, are also perfectly processed. There is a direct wire to the manufacturer / developer and this is notth. Thanks for the class Support".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

setRequired

Sets or clears the required attribute for a control.

 

Signature:

function setRequired([true|false])

 

Example:

 

if (sender.getFieldName() === 'payment_method') {

    var isCreditCard = editors.payment_method.getValue() === 'Credit Card';

    editors.credit_card.setVisible(isCreditCard).setRequired(isCreditCard);

}

 

The example can be seen live in our Feature Demo.

 

See also: getRequired



Prev Return to chapter overview Next