i would like to send the value of a region to my MS Sql database when a user registers with a form and chooses a country.
the problem is that i dont know how to set the onsubmit action in the form with the function. i am not sure the function is correct either. I just started working with asp, and my manager wants me to finish this project by today. it is very frustrating, so i would greatly appreciate any help.
this is my function:
e.g.
<%
Function Region
if glass.Value("country") = "United Kingdom" then
glass.Value("region") = "North"
end if
End Function
%>
Within the form i have the following value:
<input type="hidden" value='<%glass.Value("region")%>' name='region'>
thanks for any ideas,
natalia
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).