This topic is locked
[SOLVED]

 Page_Add Event Name possibly wrong....

2/5/2020 8:32:35 AM
PHPRunner General questions
C
ckranich authorDevClub member

Hi,
Just noticed that the Event handler in Add_Page is named
function CopyOnLoad($values, $where, $pageObject)

{

}
In the Event Tree -View it is also named Copy Page:
Could this be a source of various malfunctions(Event Handler not called)?
Version: 10.3 Enterprise Build 34262

C
ckranich authorDevClub member 2/5/2020



Hi,
Just noticed that the Event handler in Add_Page is named
function CopyOnLoad($values, $where, $pageObject)

{

}
In the Event Tree -View it is also named Copy Page:
Could this be a source of various malfunctions(Event Handler not called)?
Version: 10.3 Enterprise Build 34262


OHH:
I was on the wrong Event! Didn't scroll down the Event list but used CopyOnLoad (thinking this is the OnLoad...)

If you use the correct Event the code does what he is supposed to do.

Issue closed