[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Trying to validate a asp page problem with <%

Posted on 2013-06-26
3
Medium Priority
?
1,361 Views
Last Modified: 2013-06-26
I am trying to validate and asp page with W3C
I have this:
The script:
<% dim Name
dim email
dim comment
%>

<% Name = request("name")
email = request("email")
comment = request("comment")
%>
I get these errors:
 Bad character % after <. Probable cause: Unescaped <. Try escaping it as &lt;.

<% dim Name
and this

Error Line 36, Column 2: Bad character % after <. Probable cause: Unescaped <. Try escaping it as &lt;.

What is wrong ?
0
Comment
Question by:isnoend2001
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39280292
When you are trying to validate the page, you have to validate the rendered html, not your asp/vb server side code.

Either upload your page to your server and enter the url of the page, or view source and copy then paste to the 3rd tab where you can paste your rendered html.
0
 

Author Closing Comment

by:isnoend2001
ID: 39280298
Thanks I will remember that
0
 

Author Comment

by:isnoend2001
ID: 39280310
the validator like me now
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question