Form Not Working Properly

Reply

Join Date: Jun 2005
Posts: 238
Reputation: Lightninghawk is an unknown quantity at this point 
Solved Threads: 6
Lightninghawk's Avatar
Lightninghawk Lightninghawk is offline Offline
Posting Whiz in Training

Form Not Working Properly

 
0
  #1
Aug 14th, 2009
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:

  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

  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
+_-¤ ŦĦễ £ﺄiĢĦŧňĨňĢĦǻщk ¤-_+
South Georgia Computers - Home and Office IT Solutions - Owner/Tech
Need the BEST software for Virus/Spyware Removal? Download - AVG Free -

Computer Problems? Forget the GeeK Squad use something better: DaniWeb
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 23
Reputation: chsab420 is an unknown quantity at this point 
Solved Threads: 5
chsab420 chsab420 is offline Offline
Newbie Poster

Re: Form Not Working Properly

 
0
  #2
Sep 8th, 2009
seems that you have nothing to be post in form. bring your dropdown within form and then try,
i hope it will work
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC