Skip to main content
Nintex Community Menu Bar

How to hide a button option

  • Sep 25, 2017 4:45 PM UTC
  • 3 replies
  • 31 views
  • Translate All

Forum|alt.badge.img+2

Have a head scratcher here.

So I have a choice field (rendered as a button) connected to a list column, which has 3 options.

S, U, N/A

Depending on a drop down field, I either show or hide the button.

If it's hidden, I want it to default to N/A so I have a placeholder in the list.

If it's visible, I want it to default to U and hide the N/A option.

Is this possible? It's been driving me insane for about a week now...

3 replies

Forum|alt.badge.img+14
  • Scholar
  • Sep 25, 2017 9:53 PM UTC

to select one of choice option buttons try following

NWF$('#'+varChoice).find('input:radio[value="Option 2"]').click();‍‍‍

to hide one of choice option buttons try following

NWF$('#'+varChoice).find('input:radio[value="Option 2"]').parent().hide();‍‍‍

‌ render as button‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Translate

Forum|alt.badge.img+2
  • Author
  • Sep 26, 2017 12:26 PM UTC

You are a wonderful human being! Thank you very much! 

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 26, 2017 12:49 PM UTC

happy.pnghappy.pnghappy.png

Translate