This is a discussion on "not getting a page" within the Classic ASP section. This forum, and the thread "not getting a page are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
not getting a page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
not getting a page
I have a form, and the submit line is created on the fly, like this:
but it doesn't always work when I'm going to update.asp When I'm in "case "ReviewReview", "Process"" the form line on the page says: <form name="ReviewForm" method="post" action="Update.asp"> but when I submit the form I get /.asp as the next page. (and obviously I get an error) When I'm in the other case it's just fine. I don't get it! any hints? Thanks jakyra |
|
|
|
|||
|
So you're saying the form tag looks right when you look at the page source, but it's not posting to where the ACTION says?
|
|
|||
|
The ASP code is at the moment irrelevant. Post the full HTML source of the result and from there we're more likely to spot the problem. Probably something like overlapping forms, submit button outside the form tags etc.
|
|
|||
|
I think I've worked out what this code is doing :razz:.
What happens if you move the nextPage = "Update.asp" line to the bottom of that section of code like: ...
|
|
|||
|
I'm with Nick. I think the problem isn't with the asp code, but maybe two forms on the page or something HTML related.
|
|
||||
|
Yeah... I think maybe two forms on the same page conflicting... give them seperate names.
This looks the most likely cause.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
D3mon was correct.
Just moving that line of code helped. But why Thanks for everyone's time! jakyra |
|
|||
|
At some point - possibly during the getArrayData function, the value of the variable nextPage gets changed to something completely different, unexpectedly.
Redefining the nextPage variable after the Select Case circumvents the problem, but is an indicator of either bigger problems or the need for better coding practices. |
|
|||
|
I'll look into that.
Thanks! jakyra |
|
|||
|
no problem
|
![]() |
| Tags |
| getting, page |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to prevent access to page B except via page A? | Donny Bahama | PHP Forum | 1 | Apr 3rd, 2008 02:15 |
| Green bar of colour at bottom of page gets bigger the more page is extended | pixelgirl | Web Page Design | 1 | Apr 1st, 2008 01:27 |
| internal navigation, Linking from one page to a specific div in another page. | Oak | Web Page Design | 5 | Feb 8th, 2008 22:54 |
| Linking an outside page back to previous framed page | MJustison | Starting Out | 1 | Oct 18th, 2007 17:49 |
| A gap appears beween the Page Title and the Body Content of the page. | sovereign6 | Web Page Design | 6 | Dec 18th, 2006 19:14 |