Avatar

Show/Hide Choice Fields

Leslie Kane

I've been looking at the sample code under "Show, Hide, or Restrict Fields", but I'm a little confused. The samples list the fields to be shown or hidden as different field types, but mine are all the same field types. I have a multi-choice checkbox field and I want to show or hide three other multi-choice checkbox fields based on the selections of the first. Can anyone direct me on how to do that?

 

Thanks!

 

Follow 3 followers
0

3 comments

Avatar
Yuzo Arai 0 votes

Hello Leslie!

I assume that you're looking at the following page:
https://developer.kintone.io/hc/en-us/articles/115005449707-Show-and-hide-fields-using-checkboxes

If it is, the field type could be the same.
The page is just showing that it could be done with other field types too.
With that being said, you simply need to adjust the field code and the if/else statement part in the sample code.

I hope this helps.

0
Comment actions Permalink
Avatar
Leslie Kane 0 votes

Thank you. Would I save the code as a .js file and upload it to the "System-Wide JavaScript Customization" page? Do I need to somehow indicate which of my apps it's for?

 

0
Comment actions Permalink