|
-
Sep 11th, 2007, 10:36 AM
#1
Thread Starter
New Member
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
-
Sep 11th, 2007, 10:37 AM
#2
Last edited by Hack; Sep 11th, 2007 at 10:57 AM.
-
Sep 11th, 2007, 01:03 PM
#3
Addicted Member
Re: Online Form using VB
You may want to post some of your code where the error is talking about.
-
Sep 11th, 2007, 02:44 PM
#4
Hyperactive Member
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.
-
Sep 11th, 2007, 03:51 PM
#5
Re: Online Form using VB
It helps if you show the relevant code. Very few of us remain here that are truly psychic.
-
Sep 12th, 2007, 05:32 PM
#6
Thread Starter
New Member
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
-
Sep 14th, 2007, 02:21 PM
#7
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|