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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 676 Super User 2026 Season 2
YUN ZHU 483 Super User 2026 Season 2
AndrewThomas81 310 Super User 2026 Season 2