ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 18th, 2003, 08:51 AM
Beelzebooze Beelzebooze is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Ireland
Posts: 2 Beelzebooze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
submitting forms

Hi peeps, first post and all!

I have been making a web app for the company, and I have run into a bit of bother with it.

I have an asp page with a form on it, the corm contains some list boxes that populate depending on a previous listbox choice.

for example, list box 1 is populated from a database, and user makes a chooice, form is submitted to it's self, and listbox 2 is populated from database, dependant on coice in listbox 1.

fair enough, that works a treat. but to get this working I have used the <form action = "this_page.asp" > tag, and in the first listbox, I use
<select name="F_12025" size="1" id="F_12025" onchange="products.submit()">

my problem is as follows, at a certain point, the user has completed the form and must click the submit button, to sent the form to a thirdparty dll.

I cannot find a way to submit the form to a different page than is speccified in the form tag, (in this case not a page, but a dll, but what's in a name eh?)

any suggestions more than welcome.

Dave.

Reply With Quote
  #2  
Old July 18th, 2003, 09:54 AM
nopoints nopoints is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Windsor ON, Canada
Posts: 459 nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 44 m 22 sec
Reputation Power: 8
if this is an asp page then you can just change what the form submits to. when you need to generate the page for the last time and the user is suppose to click submit, generate the page with the different action.

Reply With Quote
  #3  
Old July 18th, 2003, 09:58 AM
Beelzebooze Beelzebooze is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Ireland
Posts: 2 Beelzebooze User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
nopoints, I will now hang my head in shame, and give it a shot.

Thanks for that!

Reply With Quote
  #4  
Old July 21st, 2003, 08:05 AM
Silian's Avatar
Silian Silian is offline
Gogga
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 198 Silian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
if this is an asp page then you can just change what the form submits to. when you need to generate the page for the last time and the user is suppose to click submit, generate the page with the different action

That should work fine if you know when the person should submit the form. If the user are allowed to submit the form at any time (even if they havn't clicked everywhere they should) try the following:
Code:
<input type='submit' value='Submit Form' onclick='frm.action="test.asp";'>

Where 'frm' is the name of your form.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > submitting forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway