I'm glad you have it working!
--
Scott
http://www.OdeToCode.com/
On Mon, 04 Oct 2004 17:57:43 GMT, "excelleinc.com"
<vjasovic@excelleinc.com> wrote:
[color=blue]
>Ummm, forgot - method="post"
>
>
>"excelleinc.com" <vjasovic@excelleinc.com> wrote in message
>news:V1g8d.2052045$ic1.209282@news.easynews.com.. .[color=green]
>> Thanks Scott for great link.
>>
>> I have decided to go with HTML form redirecting to separate aspx page but
>> for some reason it's not passing the values. I've checked the syntax
>> 100000+ times.
>>
>> login.aspx
>> ---------------------------------
>> <form class="font" action="checklogin.aspx">
>> E-Mail Address: <input name="Cust_EMail" id="Cust_EMail" type="text"
>> class="font" width="50" />
>> <br>
>> Password:<input name="Cust_Password" id="Cust_PAssword" type="password"
>> class="font" width="50" />
>> <br>
>> <asp:Label ID="login_error" runat="server" Text="Login failed. Please
>> try again." Visible="false" CssClass="red" />
>> <input type="submit" name="Submit" value="Send" class="font">
>> <br>
>> <a href="passwordremainder.aspx"
>> onclick="NewWindow(this.href,'name','510','240','y es');return
>> false;">forgot your password?</a>
>> </form>
>>
>>
>> checklogin.aspx
>> -----------------------------------
>> <%@ Page Language="VB" ContentType="text/html"
>> ResponseEncoding="iso-8859-1" %>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> "http://www.w3.org/TR/html4/loose.dtd">
>> <script language="vb" runat="server">
>> Sub Page_Load(obj as object, e as eventargs)
>> Response.Write("email=" & Request.Form("Cust_EMail") & ", password=" &
>> Request.Form("Cust_Password"))
>> End Sub
>> </script>
>> <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>> <title>Untitled Document</title>
>> </head>
>> <body>
>> </body>
>> </html>
>>
>>
>> I'm getting no values, I don't know what can be wrong, it's very
>> frustrating.
>>
>>
>> "Scott Allen" <bitmask@[nospam].fred.net> wrote in message
>> news:po03m09bic0slig8p9g58fcmos2a0bggib@4ax.com...[color=darkred]
>>> Hi Vlado:
>>>
>>> There is a good article with background information on why ASP.NET
>>> behaves this way, and models to work around the limitation here:
>>>
>>> Form-based Programming in ASP.NET
>>>
http://msdn.microsoft.com/msdnmag/is...e/default.aspx
>>>
>>> --
>>> Scott
>>>
http://www.OdeToCode.com/
>>>
>>> On Mon, 04 Oct 2004 16:37:08 GMT, "excelleinc.com"
>>> <vjasovic@excelleinc.com> wrote:
>>>
>>>>Hello,
>>>>
>>>>I have 2 forms to be filled by user, one is "auth" and second one contact
>>>>form. They're completely independent.
>>>>
>>>>Problem is that when I enclose them within same <form runat="server"> tag
>>>>one can't submit without another one (RequiredField Validator) and I'm
>>>>having whole kind of problems because .net is seeing it as one form.
>>>>
>>>>If I put second <form runat="Server"> I'm getting error that I can't use
>>>>more than one form in one page.
>>>>
>>>>Is there any ways around this?
>>>>
>>>>Thanks In Advance,
>>>>
>>>>Vlado
>>>[/color]
>>
>>[/color]
>[/color]