Announcements
I used some validation on a card page inside an OnOpenPage trigger and it is it working fine until I start using previous and next button within ribbon on card page.
Any suggestions to make it work
Hi, Is it possible to try to close the current page and open a new page?
A simple example:
Hope this will help.
Thanks.
ZHU
Hello,
I think you are out of luck on this one. According to this:
Quite: "We do not support dynamic changes to the page Editable property, except via CurrPage.Editable(FALSE) in OnOpenPage.".
I will watch here in case someone else has some ideas. Maybe you can change Editable for groups or fields, but I could also not find any ways to do that. Sorry I dont have better advice.
So this is the condition and if it is correct then I need this editable property of page to false.
But even if the condition validates page is still editable.
However this condition works on "OnOpenPage" trigger but that previous and next button ruins functionality
Maybe you can share your code ?
Thanks NorthW , but I have already tried "OnAfterGetRecord" but it is not working correctly for my validation
Basically I'm making Editable property to false for it but no luck
When you move between records the page is not opened again so your "OnOpenPage" trigger will not be executed as a result for that.
You need to use the "OnAfterGetRecord" trigger to have something executed when you move between records in a page.
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator