PHP Classes

Work around forms

Recommend this page to a friend!

      AJAX Wrapper  >  All threads  >  Work around forms  >  (Un) Subscribe thread alerts  
Subject:Work around forms
Summary:how can I create a form with this class and submit it ...
Messages:2
Author:soheil
Date:2007-12-03 16:35:42
Update:2007-12-03 17:43:38
 

 


  1. Work around forms   Reply   Report abuse  
Picture of soheil soheil - 2007-12-03 16:35:42
how can I create a form with this class and submit it ...
I try to make a form and send it's posted values to another PHP file to use theme ! but it ain't work.

May I should know somthing advanced about your beautiful class ?

Thank you.

  2. Re: Work around forms   Reply   Report abuse  
Picture of Enéas Gesing Enéas Gesing - 2007-12-03 17:43:38 - In reply to message 1 from soheil
Hi,

It's very simple.

There two ways to do this:

1- Using the form_remote_tag() function

This function will generate a <form> tag with ajax call

2- Using the submit_to_remote() function

This will generate a submit button. When This button is clicked, a ajax call will be maked.

See more on example_onchange.php file.

Regards,

Enéas