IBM Support

"Required" input mode not working for YORN attributes

Technical Blog Post


Abstract

"Required" input mode not working for YORN attributes

Body

Is it possible to make a YORN field required?

 

This cannot be done with a YORN type attribute.

The "required" input mode works when the field is null.
So you cannot save the record if the field is null, because a value is required.

However, the YORN field is never null. If the field is not checked, the value in the DB is "N". If checked is "Y".

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11112265