56
Views
3
Comments
Solved
how to refresh visibility of field inside IF statement inside a block?
Application Type
Reactive

Hello,


I have a form with some inputs. When of the input is not mandatory. So next to this input there is a checkbox caleld "Heden". When this is selected the input field disappears because there is a IF statement which checks if the localvariable BooleanVarHeden is true or not. So this works fine. 

However i want that the input fields becomes visible again when the pencil icon is clicked. However this does not work, even if i set the Localvariable BooleanVarHeden to False. WHen i click the pencil, the checkbox deselects, but the input field is still not visible.


this is when checkbox is selected:


this is when the pencil icon is clicked:



this is the IF statement wrapping the input field:


the action behind the checkbox:


and this is the action behind the pencil icon:

2023-10-26 15-12-53
Mohammed Rizwan
Solution

Hello Sam,

I am adding a sample for you have a look to it and let me know if this works for you

https://personal-abfdzfhg.outsystemscloud.com/SampleV/visibilityoffield?_ts=638138014764289731

Check the oml attached.

Thanks

Rizwan




SampleV.oml
2022-06-20 10-22-18
Nabeel Khan

Hello Sam, 

Hope you're doing well.

I have seen every image and I think every thing is correct, can you share the oml file with me so I can check what's missing.

Regards,

Nabeel Khan.

2023-10-30 09-31-27
Shivam Mishra

Hi 

Can you Share OML File.

2023-10-26 15-12-53
Mohammed Rizwan
Solution

Hello Sam,

I am adding a sample for you have a look to it and let me know if this works for you

https://personal-abfdzfhg.outsystemscloud.com/SampleV/visibilityoffield?_ts=638138014764289731

Check the oml attached.

Thanks

Rizwan




SampleV.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.