Hi everyone I have developed Drupal website and custom registration form. The registration form is multi-step and in popup window so i m using lightbox2 module of drupal and working perfectly fine and the form code is written in the lightbox2 file that comes with module and place in theme folder, and multi-step i handeld with javascript that is also working fine but now i want to send ajax request when user fill the first part of form and click go to next part i send the ajax request to sites/all/theme/mytheme/template/insert.php when ajax request send it says access forbidden. Now tell me how i can use ajax to insert data in database ?
I have check the access forbidden from firebug.
Waiting for quick reply
Thanks