Hi all,
I’m trying to make a test message with YES and NOT button before to INSERT and also before UPDATE a record in a table using sc_exec_sql …
I did several tests under OnValidateSuccess :
sc_ajax_message(" Do you like to insert a new record ? “, “TITLE…”, ‘modal=N&button=Y&button_label=Ok&show_close=Y&timeout=5’);
also using "
sc_ajax_message(” Do you like to insert a new record ? ", “TITLE…”, “modal=N&button=Y&button_label=Ok&show_close=Y&timeout=5”);
Nothing happened as the line was commented //
Can you help me to make this simple test ? Have you got a sample like … if OK do something and if NOT do nothing or something else… ?
Also using sc_confirm I’m able do nothing . ??? ;-(
Many thanks
Giovannino