Why Mandatory Checkbox Greyed for me

ursnani
Giga Guru

I have field on a table which is in Separate application scope and I want to make that field as mandatory.

Now My issue is Mandatory Checkbox is greyed out for me.

Can some one please explain me why it is greyed out and how to make that available again and make my field mandatory.

I tried using Client script g_form.setMandatory and even thorugh UI Policy also but didnt work.

Please can some one please help me on this.

Thanks.

4 REPLIES 4

shivaram_umapat
Giga Expert

Hi, check if you accidentally created any ACLs denying you access to the field.

Brent Sutton
Mega Sage

Hi Ursani,

I believe that the client script or UI Policy would need to be created in the same application scope as the checkbox variable. Also, the "Selection Required" tick box (used to be labelled "Mandatory" in Kingston) would need to be selected in the checkbox variable configuration. The UI Policy would need to be configured to make the checkbox not mandatory unless its condition was met.

find_real_file.png

Let me know if this solved your question.

Brent

P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.

Hi Ursnani,

Did any of the suggestions help solve your issue? Would be great to close down this thread if your question has been answered.

Brent

P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.

 

siva_
Giga Guru

Check if there is any ACL ,UI Policy , data policy, client script is making it read only , and for making check box mandatory either in on submit by using if(g_form.getValue(var_name))==""{return false};and add some messages on the form to the user 

Else if you are in london , in the variable configuration page , you have selection required check box which makes it mandatory to be selected before submission 

 

You can also switch on the toggle for " Javascript log and field watcher " on your homepage>settings cog> developer section and watch the field to know which is making it read only and also check by adding read only field on to the form layout and if it has been checked in the variable configuration form 

Hope this helps 

Mark this response as correct if that really helps 

 

Thanks,

Siva