Skip to main content
Nintex Community Menu Bar
Question

Change the Custom Label of Field using Inline Code

  • July 10, 2024
  • 2 replies
  • 2 views
  • Translate

Forum|alt.badge.img+1

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?

Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Forum|alt.badge.img+10

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

Translate

Forum|alt.badge.img+13

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.

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings