This topic is locked

change message when i sent return false

6/10/2020 3:03:47 PM
PHPRunner General questions
C
cjarerov author

It is possible to change the message that the phprunner automatically sends when I execute a "return false", I have cases where I am updating a view with different tables and manually update each table and I return false and the phprunner sends me a message "There has been a error >> "can I change this?

N
Nir Frumer 6/10/2020

when returning false from add or edit event

the shown message can be changed by assigning a value to the $message variable

If you change other tables and want to leave your main table untouched

put your code into the custom add or edit and return false
hope it helps,

C
cjarerov author 6/12/2020



when returning false from add or edit event

the shown message can be changed by assigning a value to the $message variable

If you change other tables and want to leave your main table untouched

put your code into the custom add or edit and return false
hope it helps,

C
cjarerov author 6/12/2020

Hello

It didn't work for me. I would need to send you a small image to make me understand better.
My mail is cjarerov@grupoarcoiris.com.mx

C
cjarerov author 6/15/2020



Hello

It didn't work for me. I would need to send you a small image to make me understand better.
My mail is cjarerov@grupoarcoiris.com.mx


Hello
in another words, when I am adding a new record using "Inline Add", the PHPRUnner sent me a message "An error has occurred >>". I change the mensaje to correct form but the system sent me this another message. When I let the system update normaly the system didn't sent the message.
Thanks, I used the from the you told me , but didn't change nothing. is Exist another form?
Thanks

C
cjarerov author 6/15/2020






Hello
in another words, when I am adding a new record using "Inline Add", the PHPRUnner sent me a message "An error has occurred >>". I change the mensaje to correct form but the system sent me this another message. When I let the system update normaly the system didn't sent the message.
Thanks, I used the from the you told me , but didn't change nothing. is Exist another form?
Thanks

C
cjarerov author 6/15/2020



when returning false from add or edit event

the shown message can be changed by assigning a value to the $message variable

If you change other tables and want to leave your main table untouched

put your code into the custom add or edit and return false
hope it helps,


Thank you very much, the problem was solved with the information you gave me. Thank you