I have a check box that has 3 options, Obsolete, Disposal and Aged Inventory. If I check Aged Inventory I would like to be able to disable Obsolete and Disposal. Radio button will not work as I may have to allow Obsolete and Disposal to be checked together. Thank you in advance for any suggestions/ideas.
Kintone offers a plug-in known as the "Conditional Display Plug-in".
This plug-in displays/hides/prevents editing fields depending on the condition of fields in your app.
The plug-in can be found here:
By inserting this plug-in to your environment and tweaking the settings, you are able to disable editing if "Aged Inventory" is selected in the checkbox field.
By following these settings, you should be able to get the results you are looking for.
There is one caveat to setting it up this way. Once "Aged Inventory" has been selected, the entire checkbox becomes un-editable. If for whatever reason you would like to deselect "Age Inventory", you would have to disable the plug-in momentarily to be able to make edits again.
Thank you @Danny . Yes, I thought of that also but since we have office workers entering the input I want to make it as simply as possible. If they make a mistake and do Aged but meant to do a Disposal then I would have to "reset" for them.
I use code to disable/hide/show other fields when I check on a box, can I disable options within the check box itself. Currently I use line with xxxx.indexOf('option name') >=0 to hide/show fields. Is there way to use that within itself to disable options?
If (choiceVal.indexOf('Aged Inventory') >= 0 then disable Obsolete and Disposal options?
I figured it out. Thank you. By coding that when aged inventory is selected (not -1) tell the checkbox.value = Aged Inventory it wont allow you to check Obsolete or Disposal until I uncheck Aged Inventory.
CHOICE2 is my Request Type checkbox (Obsolete, Disposal, Aged Inventory)