×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: chokri tliche
Added: Sep 6, 2012 10:48 AM
Views: 54
put this code in the callback submit form function
  1. ctools_include('ajax');
  2.     ctools_add_js('ajax-responder');
  3.     $redirect = 'cas';
  4.     $commands[] = ctools_ajax_command_redirect($redirect);
  5.     print ajax_render($commands);
  6.     exit;