-
Online Form using VB
Hello,
I am new to this message board, and I'm having a problem with my form that is fillable online. I have added some fields and I cant seem to get them declared?
I get this message: Name 'Location_phone' is not declared.
and I get this error when I pull it up on the internet: BC30451: Name 'location_phone' is not declared.
Is there anyone who can help me on this?
Thanks
-
Re: Online Form using VB
-
Re: Online Form using VB
You may want to post some of your code where the error is talking about.
-
Re: Online Form using VB
Sounds like you're using an html input and not an asp:textbox.
If that's the case, remove name="location_phone" and substitute id="location_phone"
You will need to add one attribute to the html input control, runat="server"
If not, post some code.
-
Re: Online Form using VB
It helps if you show the relevant code. Very few of us remain here that are truly psychic.
-
Re: Online Form using VB
Hello,
I have pasted the error message that I'm getting. Not sure if this will help.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'location_phone' is not declared.
Source Error:
Line 31: Session.Contents("location_state") = location_state.Text
Line 32: Session.Contents("location_zipcode") = location_zipcode.Text
Line 33: Session.Contents("location_phone") = location_phone.Text
Line 34: Session.Contents("description_risk") = description_risk.Text
Line 35: Session.Contents("prior_losses") = prior_losses.Text
Source File: D:\inetpub\andersonmurison\commercial\ezquote090707.aspx Line: 33
-
Re: Online Form using VB
Is it in the HTML source view for the page? If you're using VS 2003, is it in the designer generated code?