Skip to main content

Hide fields in Customiser forms

  • January 16, 2023
  • 5 replies
  • 280 views

Forum|alt.badge.img+1

I would like a way to set fields to be hidden (in a similar way that Visibility Expressions can be used to show fields). 

5 replies

Forum|alt.badge.img+12
  • Hero (Customer)
  • 145 replies
  • January 16, 2023

I don't think this is possible at the moment because the customiser doesn't accept ‘NOT EQUAL’ (as below) or conditional AND/OR expressions

$W("VISIBILITY-TEST")!="WANT2HIDE" 

If you want to show a field on 3 of 4 options then I think you have you create the hidden field 3 times. Adding specific, positive visibility expressions to each. 

 

It would probably make a great feature request though. It would get my vote.


Robert Wood
Hero (Employee)
Forum|alt.badge.img+11
  • Hero (Employee)
  • 57 replies
  • January 17, 2023

Hi Both, 

Another one for the ideas area! log it there and we’ll see what every one else thinks about it. Looks like a good suggestion to me.

https://community.ifs.com/ideas

Cheers,
Robert


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 4 replies
  • January 20, 2023

Hi Both, 

Another one for the ideas area! log it there and we’ll see what every one else thinks about it. Looks like a good suggestion to me.

https://community.ifs.com/ideas

Cheers,
Robert

Thanks, I have added


Forum|alt.badge.img+5
  • Do Gooder (Employee)
  • 17 replies
  • March 16, 2023

The attached is an approach I have used to base the visibility of one field based on the values selected in multiple custom fields. 

It is a workaround ‘for now’ for the issue of not being able to use logic in visibility expressions in the customizer.


Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 6 replies
  • July 9, 2023

The attached is an approach I have used to base the visibility of one field based on the values selected in multiple custom fields. 

It is a workaround ‘for now’ for the issue of not being able to use logic in visibility expressions in the customizer.

Thanks for the great suggestion would you explain it more ??