I have an asp page that displays an online form after validating a user. I'm using Response.Write "form goes here"
However, the form is very long (100+ lines).
Is there a way I can do Response.Write with multi-line html? I want to do something like this:
<%
If rs.rcount > 0 then
response.write "
<form>
<input type="text" id="inputEmail">
</form>"
End if
%>
Many thanks,
Use a code block, not response.write
.
<%
...your VB ....
if a=b then
%>
<h1> HTML GOES HERE</h1>
<form>
<input type="text" id="inputEmail">
</form>
<%
end if
... more VB code
%>