If they don't put something like this in your Active4D form
<noscript>
<p>
This form is designed to use Javascript. Your browser doesn't have Javascript enabled.<br />
You can use a feature-crippled version of this form by clicking the button below. </p>
<input type="submit" name="f_submit_btn" value="submit">
</noscript>
Your a4d form processor will need to trap for the submit button, get all your form variables and query as needed.
-- Brad
Eytan Abrahams wrote:
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/
_______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
