0

Sir,
I have form an html code using asp code like below:

response.write("<form id='stest' name='stest' method='post' action='testresult.asp' onsubmit='return check()'>")
response.write("  <table width='81%' border='0' align='center' cellpadding='0' cellspacing='1'>")
response.write("    <tr>")
response.write("      <td width='21%'>&nbsp;</td>")
response.write("      <th align='center'>A Simple Test on General Knowledge</th>")
response.write("     <td width='22%'>&nbsp;</td>")
response.write("    </tr>")
response.write(" </table>")
response.write("</form>")

because of i have heared that asp code is not viewable to user. so i have write this code. is this code write or wrong? and i want a solution for i can form an html format(code) which is not accessable to the user in 'source code'?

Thank u sir.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by madmital
0

Forgive me not answering your question, but I'm curious as to why you would even consider hiding the source of a form from the user?

If you're writing "sensitive" data into the form, and that is why you want to hide the source from the user then you're simply doing it wrong.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.