setOptional method

Set the input attribute optional status.

 Syntax
 Parameters
 Remarks