943,568 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 806
  • ASP RSS
Aug 14th, 2009
0

Form Not Working Properly

Expand Post »
I have a couple of files here.
I have a form on our home page that was working until just a few minutes ago and I have no idea what has changed. It was moved from the bottom of the page to the of the page but that is all.

Now when I try to use the form it goes to the directory but says a directory listing is not allowed and does not go to the pdf file within the directory like it is supposed to.

Any help is welcome.
Code posted below


Here is the form that is on the home page:

ASP Syntax (Toggle Plain Text)
  1. <tr> <br>
  2. <td bgcolor="#003398" height="18">
  3.  
  4. <b><font face="Arial" size="2" color="#FFFFFF">Courses</font></b></td>
  5.  
  6. </tr>
  7. <tr>
  8. <td height="71" valign="top">
  9.  
  10. <select size="1" name="Courses">
  11. <option value="Surveying_Ethics_0007604.pdf">Surveying Ethics 101 #0007604</option>
  12. <option value="Florida_MTS_-_T09_0007603.pdf">Florida MTS T09 #0007603</option>
  13. <option value="Florida_Laws_-_T09_0007602.pdf">Florida Laws T09 #0007602</option>
  14. <option value="ContractLaw_0003790.pdf">Contract Law #0003790</option>
  15. <option value="DeedInterpretation_0003797.pdf">Deed Interpretation #0003797</option>
  16. <option value="FloridaLaws_0003789.pdf">Florida Laws #0003789</option>
  17. <option value="FloridaMTS_0003788.pdf">Florida Minimum Technical Standards #0003788</option>
  18. <option value="GeorgiaLaws_0006457.pdf">Georgia Laws #0006457</option>
  19. <option value="GeorgiaMTS_0006458.pdf">Georgia Minimum Technical Standards #0006458</option>
  20. <option value="LegalDefensesandProfessionalism_0003793.pdf">Legal Defenses and Professionalism #0003793</option>
  21. <option value="LegalDescriptions_0003796.pdf">Legal Descriptions #0003796</option>
  22. <option value="LimitationsofLiabilityandMalpracticeDamage_0003792.pdf">Limitations of Liability and Malpractice Damages #0003792</option>
  23. <option value="NegligenceLaw_0003791.pdf">Negligence Law #0003791</option>
  24. </select>
  25.  
  26. <form method="POST" action="courses.asp">
  27.  
  28. <p>
  29. <input type="submit" value="Submit" name="B1"></p>
  30. </form>


and here is the courses.asp code that is called by the form

ASP Syntax (Toggle Plain Text)
  1. <%
  2. CoursePath = "CoursesAndSeminars/" & request("Courses")
  3. response.redirect(CoursePath)
  4. %>

the code itself has not been modified at all. Simply the form was moved to the top of the page in a design editor.

to visit the page in question you can view surveyors.org
the dropdown form is at the top of the page above the video.

Thank you
Reputation Points: 35
Solved Threads: 9
Posting Whiz in Training
Lightninghawk is offline Offline
288 posts
since Jun 2005
Sep 8th, 2009
0

Re: Form Not Working Properly

seems that you have nothing to be post in form. bring your dropdown within form and then try,
i hope it will work
Reputation Points: 10
Solved Threads: 5
Newbie Poster
chsab420 is offline Offline
23 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: show if recordset empty
Next Thread in ASP Forum Timeline: help with image uploader





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC