This topic is locked

Access to the $message-variable

2/20/2021 12:07:15 PM
PHPRunner General questions
W
Wachsmann author

Hello,
the variable $message in BeforeAdd($values, $message, $inline, $pageObject) is very usefull, but how can i access on this variable in the "Before Display"-Part?
I want to alert the message, but i dont know how i can access to the message.
Does somebody has any idea?
Lg.

Uwe

Sergey Kornilov admin 2/23/2021

$message in BeforeAdd is specifically designed to display error messages in the case when you prevent a record from being added in BeforeAdd event.
Can you explain what "alert the message" means?