![]() |
romaldus 10/2/2016 |
I have various handlers for hiding and showing fields. These are defined in the onload javascript event and I also use control.fireEvent("change") to initially fire them and set the starting point for the controls. The downside to this is that the page is then marked as modified so the user is prompted when they hit back to list. So at the end of the onload I set the page as not modified. pageObject.setPageModified(false); However, the events have not run at this point, they have merely been inserted in the event queue. I guess my options are either to put this in a customer event and queue that, or run the queue. Has anybody come across this, any ideas on the best option?
|
S
|
steveh author 10/3/2016 |
it's hard to undestand without screenshots or sample code
|
![]() |
Admin 10/5/2016 |
Use setTimeout() function to fire an event independently? |
S
|
steveh author 10/5/2016 |
Perfect, thanks |