Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable is undefined: 'contactEmail' WHY? having problems here 1

Status
Not open for further replies.

hpadwal

Programmer
Feb 6, 2006
57
GB
hello all,

i have the following form header which keeps bringing up this error?

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'contactEmail'

the form head is

Code:
.Write "<form name=""rejct"" method=""post"" action=""subReject.asp?rjtsub="& iSubmissionID &"&emailadd=" & contactEmail & """>"

im writing html from an asp page thanks.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

To be successful in life, you must think your less then the person next to you?!?!?!?!

 
Probably going to need to see more code, but right off the top of my head, do you use the Option Explicit statement? If so, do you Dim contactEmail somewhere?

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
double check your quotes...may be its an issue with the missing quotes...

-DNG
 
i am using option exp, cant find the dam thing, is it definatley that?

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

To be successful in life, you must think your less then the person next to you?!?!?!?!

 
If you use Option Explicit and fail to Dim a variable, then you will get a 'Variable Is Undefined' error.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top