Set field visibility dependent on checkbox result

Hello,

New Sugar Admin user. Been hunting for resolution but all examples I can find seem to be for dropdown lists rather than checkbox field result.

Have entered formula below into for date field type so it reveals itself if the checkbox field Intensive Case is ticked:

equal($intensive_case_c,"TRUE")

Result: The date field is still visible and when the Intensive Case is ticked, it then disappears.

So I tried:

equal($intensive_case_c,"FALSE")

Same result as above.

Thanks very much

Parents
  • Hello,

    These 2 versions should work: 

     equal($intensive_case_c,true)  

     Notice I haven't used quotes.   

     or simply:   

     $intensive_case_c  

    Hope this helps!

    Damien

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group

  • Thanks for the response Damien. Neither of these worked by the 1 and 0 did.
    Appreciate your response :)

Reply Children
  • That is very strange, as I tested both on a demobuilder instance. Out of curiosity, your intensive_case_c is a checkbox? It should return true/false, not 1/1.

    And what's your version of Sugar? 

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group