Hi, I'm sure there is a simple solution for this but I've been trailing the net for hours trying to find one with no avail. I have an ASP page with a standard html form. On submit the values are loaded into an array and I call an ASP file that emails the values to me. Everything works but it seems to skip the drop down value. Please help....
Code:
<form action="deliver.asp" method="post"> <p>First Name: <font color="#FF0000">*</font> <input name="fname" size="24" type="text" id="fname" value="<%=inputArray(1,2)%>" <%IF badItem=1 THEN response.write "class=""errorItem"""%>/> </p> <p>Last Name: <font color="#FF0000">*</font> <input name="lname" size="24" type="text" id="lname" value="<%=inputArray(2,2)%>" <%IF badItem=2 THEN response.write "class=""errorItem"""%>/> </p> <p>Email: <font color="#FF0000">*</font> <input name="email" size="30" type="text" id="email" value="<%=inputArray(3,2)%>" <%IF badItem=3 THEN response.write "class=""errorItem"""%>/> </p> <p>Location: <font color="#FF0000">*</font> <select name="location" id="location" value="%=inputArray(4,2)%>" <%IF badItem=4 THEN response.write "class=""errorItem"""%>/> <option value="Queen">King</option> <option value="King">Rosedale</option> <option value="Dundas">Forrest Hill</option> </select> </p> <p>Primary Fitness Goal: <font color="#FF0000">*</font><br> <textarea rows="3" cols="30" name="goal" type="text" id="goal" value="<%=inputArray(5,2)%>" <%IF badItem=5 THEN response.write "class=""errorItem"""%>/></textarea> </p> <p> <input type="submit" value="Submit" /> </p> </form>
Comment