Print Page | Close Window

More than one submit event problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=12218
Printed Date: 30 March 2026 at 1:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: More than one submit event problem
Posted By: ngaisteve1
Subject: More than one submit event problem
Date Posted: 17 October 2004 at 11:59pm
I have a form in http://recruit.mnetrade.com/sample_add_form.asp - http://recruit.mnetrade.com/sample_add_form.asp

In my sample_add_form.asp, it has
<form name=myform action="sample_add_form.asp" method=post>

When I onchange my specialization drop down box, it will automatically load sample_add_form.asp and there are some code to retrieve the second drop down box.

And at the end, after I fill in all fields and click Save, the page should be sample_add.asp. So, how do I go about this? Thanks.



Replies:
Posted By: bootcom
Date Posted: 27 February 2005 at 10:40pm

You will need to use Javascript to change the action of the form based on some parameters ... Take a look on google for change form action javascript. Thats will get you going. Cheers



Posted By: ngaisteve1
Date Posted: 27 February 2005 at 11:35pm

Thanks. Actually, I got that solved but forgot to put a note there.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net