Hi, im trying to make my upload page do this. I have 2 sections for files on my server. I want 2 radio buttons, when radio button 1 is clicked is will show the form for uploading files to the downloads section below it. When radio button 2 is clicked it will show the form for uploading (.zip) scripts to the scripts section below it. Any help on this would be great.
<%@ Language=VBScript %>
<%
option explicit
Response.Expires = -1
Server.ScriptTimeout = 600
%>
<HTML>
<HEAD><TITLE>FilesDomain.net - Upload</TITLE>
<link rel=stylesheet type="text/css" href="../style.css">
<script src="../noclick.js" type="text/javascript"></script>
</HEAD>
<BODY background="main_bg.jpg">
<%
Dim filesChecked, scriptsChecked, files, scripts
files="<!--#include file="files_upload.asp"-->"
scripts="<!--#include file="script_upload.asp"-->"
filesChecked = ""
scriptsChecked = ""
SELECT CASE Request.Form("type")
CASE "files"
filesChecked = "CHECKED"
CASE "scripts"
scriptsChecked = "CHECKED"
END SELECT
%>
<font size="2pt">
Pick what type of file you would like to upload:<BR>
<FORM Method=Post>
Files: <INPUT Type=Radio Name=type Value=files <%= filesChecked%>>
Scripts: <INPUT Type=Radio Name=type Value=scripts <%= scriptsChecked%>>
</font>
<INPUT Type=Submit class="button" value="Change">
</FORM>
<%= Request.Form("type")%>
</BODY>
</HTML>