Solved

Trying to validate a asp page problem with <%

Posted on 2013-06-26
3
1,164 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 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Specific format 21 144
format nvarchar field as mm/dd/yyyy 4 55
JSON error 4 38
Novice question on VBScript 8 38
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now