sc_ajax_message not working

I’m using the following script in the onValidate event.


$msg = 'hello';
$title = 'Hi';
sc_ajax_message($msg,$title);

Nothing happens, it just continues to process.
Am I doing something wrong or is this just another crappy SC macro?

Re: sc_ajax_message not working

Hello there,

Did you checked on the web help how this macro work?

sc_ajax_message(“Message”, “Title”, “Parameters”, “Parameters_Redir”)

Which was the application that you tested on?

Re: sc_ajax_message not working

yes, I did.

onValidate on the Form application, just like the documentation says it should work.

still nothing.

D

Re: sc_ajax_message not working

Hello there,

I tested and its working perfectly, tested on two machines already, whats your SC version? and whats your operating system?

Re: sc_ajax_message not working

Work in OnValidate event, but with a timeout of 3 seconds, does not listen to a timeout of 20. (Form app).

windows web server 2008 R2, Apache 2.2, PHP 5, scriptcase v5.2.029