Announcements
No record found.
Hi Here the visibility property is not working for field for card page while applying condition. How to fix that issue ??
Hi,
You can show your code here.
first i have created a global variable of FieldVisible and datatype boolean . I had assigned that variable at dependent required field . Then i had written this code.
modify("Leave Code")
{
trigger OnAfterValidate()
var
myInt: Integer;
begin
if Rec."Leave Code" = 'AL' then
FieldVisible := true
ELSE
FieldVisible := false;
end;
}
Declare your field like this
[InDataSet]
fieldvisible: Boolean;
Still i am facing the issue.
Hi, hope the following helps.
https://yzhums.com/14752/
[View:/cfs-file/__key/communityserver-discussions-components-files/758/DynamicVisibility01.mp4:1024:768]
PS: Deprecating InDataSet attribute used for global variables in Pages (The InDataset attribute is unused)https://yzhums.com/37557/
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,946 Super User 2026 Season 1
YUN ZHU 1,177 Super User 2026 Season 1
Khushbu Rajvi. 555 Super User 2026 Season 1