This topic is locked

Inline add/edit custom message

6/23/2016 4:57:07 PM
PHPRunner General questions
A
Alessio author

Hello
I'm running a project in rnr9 and I need some extra controls for an inline add/edit page.

Using before record added I can handle it, customize the error message and everytihing is fine in regular add/edit page.
Using inline add/edit my custom message is not show, but only "an error occured >>"

My code is very easy
if ($test){

$message="Custom error message!";

return false;

}
Do I need to pass $message variable in a different way?
Many thanks
Regards

Sergey Kornilov admin 6/23/2016

Your message will be shown if you mouse over "Error occurred ...".

A
Alessio author 6/24/2016



Your message will be shown if you mouse over "Error occurred ...".


....mmmmm.... it'does't!
Checking the console I see only this error:
TypeError: this.errCont.addClass(...).errCont is undefined

Runner.util.inlineEditing.InlineEditor<.makeError()RunnerAll.js:833

Runner.util.inlineEditing.InlineEditor<.createRowForm/<.successSubmit.fn() RunnerAll.js:783

Runner.util.Event.prototype.fire() RunnerAll.js:5

Runner.util.Observable<.fireEvent() RunnerAll.js:10

Runner.form.BasicForm<.createIFrame/<() RunnerAll.js:2283

n.event.dispatch() loadfirst.js:1

n.event.add/r.handle() loadfirst.js:1

Sergey Kornilov admin 6/24/2016

You probably should post project to Demo Account and contact support directly. Cannot troubleshoot this without having access to the application.