Thanks. Just need to make sure the users have JavaScript enabled :-)

Regards

--
Eytan 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aparajita
Fishman
Sent: Tuesday, March 22, 2005 12:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [Active4d-dev] Check box

> I want to be able to tell the
> page to run a Query when the checkbox is selected, when the option on 
> the drop down is selected. Etc....

Given a checkbox that uses this html, as Brad suggested:

<form name="form1" method="post" action="handleMyComplexPage.a4d">
   <input name="f_rental_status_cb" type="checkbox" value="rented"
    onClick="this.form.submit()" />
</form>

the Javascript code "this.form.submit()" in the onClick attribute of the
checkbox WILL submit the form the checkbox is in WITHOUT the need for a
submit button at all, much less clicking on one.

Regards,

     - Aparajita

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to