Retail Point-of-Service Solutions (MOSC)

MOSC Banner

Mail opt checkbox becomes uneditable when user selects another checkbox and unselects

Checkbox field becomes uneditable even after setcardinality(optional) is set


We are trying to make a checkbox field editable based on other field value. We are using setcardinality(optional) to make the field editable after disabling the field.

so the check-box remains uneditable even after setCardinality(OPTIONAL) is being set.

Im using getFieldDef(MAIL_OPT_IN_FIELD).setValue(false); method to set the value of checkbox false and after this when need to change to true and editable i'm using getFieldDef(MAIL_OPT_IN_FIELD).setCardinality(ICardinality.OPTIONAL);

Other normal string value fields are getting editable but boolean value field is not getting editable.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center