Avatar

Level 10

Just to jump in...

There is an example here: http://assure.ly/hxHupW.

Basically there are two properties that you want to change the "presence" property and the "mandatory" property.

For example:

Textfield.mandatory = "error";

Textfield.presence = "visible";

and

Textfield.mandatory = "disabled";

Textfield.presence = "hidden";

A similar example looks at the presence property: http://assure.ly/h7whb8.

Hope that helps,

Niall