can confirm, this worked great and exactly solved my issue! thank you so much Robydago!
hey I have a small issue and maybe you know why! In local when I use the Ajax button with the sc_ajax_message, everything is correct, the message displayed is the one that I setup with sc_ajax_message, but when I move the project in production, the error message that displays, has only the first letter of the title and the first letter of the message!
so in local I see the message like this: Title: “Error”, Message: “Every required field must be filled”
but in production : Title: “E”, Message “E”
So only the first letter of each part gets shown! Do you know why?
No idea.
I’ve seen another post from you with issues in implementing this that you get only in production.
Do you have in production the same version of PHP that you have in development?
hello, have you authorized java in your browser, it can just come from there
yes, the version is the same!
the code is on a Ajax button, and it looks like this:
sc_ajax_message("Every required field must be filled", "Error", "button=N&timeout=5");
when I launch it in local, it shows correctly the Title (“Error”) and the Content (“Every required field must be filled”),
but when deployed, the message appears but only the first letter is shown, in the title and in the content, so
in production I see: Title: “E”, content: “E”
if you mean Javascript, yes, I use Chrome and it s allowed (I also tried with Microsoft browser, same issue, only first letter is displayed)