Author Topic: Visibility of widgets and groupBoxes  (Read 289 times)

chris

  • Newbie
  • *
  • Posts: 15
    • View Profile
Visibility of widgets and groupBoxes
« on: August 27, 2020, 04:04:39 pm »
Hey...

I've got a widget which is set as hidden.
On an onChange-Event of a checkbox I want to set the visibility to true, if the checkbox is true.
But nothing happens. The widget is always hidden.
If I try it with a groupBox, it's the same. But if I make the groupBox visible in the standard, the onChange-Event works...

Here's my Code:
Code: [Select]
if (app.getFieldValue("adrIsMember")) {
        app.setVisibility("wdgtRegistrationFee", true);
}else{
       app.setVisibility("wdgtRegistrationFee", false);
}

A mistake by me or is there something wrong?

Patrique

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Visibility of widgets and groupBoxes
« Reply #1 on: October 18, 2020, 09:41:04 pm »
Hey Chris,

any news on this? Did you find a solution?

volker.thebrath

  • Administrator
  • Newbie
  • *****
  • Posts: 28
    • View Profile
Re: Visibility of widgets and groupBoxes
« Reply #2 on: October 19, 2020, 10:00:02 am »
Hi Patrique,


this should be fixed

chris

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Visibility of widgets and groupBoxes
« Reply #3 on: October 19, 2020, 06:09:58 pm »
Hey... working fine now! Just tested.
Thanks Volker!