Skip to main content

I have many fields where the Custom Label needs to change based on the yes no response to one questions. Feels like an easy “IF” statement in the Inline Code Section, but Javascript snippits in skuid are foreign to me. Am I on the right track?

Derek,

Someone else just asked a similar question…

https://community.skuid.com/t/conditional-label

The labels support merge syntax.  You can use {{#fieldname}}label{{/fieldname}} to show hide depending upon whether the field ‘fieldname’ has a value.  Try using a model UI formula field of type ‘checkbox’ to handle the show/hide.

Thanks,

Bill


Hi Derek -

Bill’s approach using merge syntax should provide you the easiest solution, however there are some limitations.  I’ve updated the post at https://community.skuid.com/t/conditional-label with the details just in case it applies to your situation.