Rabel wrote:
I am new to asp and have tried a few things and cannot get it to
work. I thought this code
<input type="hidden" name="x_cust_id" value="<%= x_email %>">
would work for making the x_cust_id value equal what was put in the
x_email field - but that doesnt work - any idea what Im doing wrong.
Thanks,
Randy
1. You haven't properly defined "doesn't work". What are the symptoms that
lead you to believe it is not working? Better yet, show us the result you
expect to achieve, followed by the result you are actually getting
2. You haven't shown enough code for us to help you. From what I can see
"x_email" is a variable, not a field. The following works for me:
<%
dim x_email
x_*************@something.com
%>
<html><body>
<input type="hidden" name="x_cust_id" value="<%= x_email %>">
</body></html>
When I run this page and View Source, here is what I see:
<input type="hidden" name="x_cust_id" va***********@something.com>
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"