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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OScript (Weblingo) question 1

Status
Not open for further replies.

DrDDT

Technical User
Apr 6, 2005
88
NL
Hi!

I'm trying to modify error.html of Livelink 9.5SP1 to print a special message for a login error.

This is what I tried:

Code:
;if ( "`err`" == "Invalid username/password specified." )
	 <H1> Special help message here!</H1>
;end

...... and it doesn't work.
If I just output `err`, I'm getting the same sting, but the compare won't match it.

How do I make this work?
 
The if statement should be:

;if ( err == "Invalid username/password specified." )


There is no need to escape the value because you are already in OScript mode because of the ; at the begining of the line.
 
Thanks,

This fixed my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top