This topic is locked

How to set custom Error Message?

11/17/2014 4:21:59 PM
PHPRunner General questions
I
ISelb author

When a user clicks a button that isn't right for their circumstances, how can I post a custom error message to the top of the page?
I have tried the

ctrl.setMessage(message);



from within the Button code, but this puts the message beneath the button itself.
I want the message to be where the typical "<<Record Added>>" appears.