Email Address fill-in on ASP form; ExportMagic=True
Upon opening a page that uses a separate template, I want the Email address to fill-in the value automatically in the Input box at the bottom of the page. This allows the user to open the page, see that the email address is already there and click SEND to send the form. Here is what I'm using to get the email address:
<FORM>
<%
EMADDR = session("aspdb_600_AgtAssignEmail")
Response.write(" ") & EMADDR
%>
<BR>
<B>Email Addr:</B> <INPUT TYPE=TEXT SIZE=30 NAME=emailaddress VALUE= <% Response.write(" ") & EMADDR %> >
<B>Optional Note:</B><INPUT TYPE=TEXT SIZE=25 NAME='EXTRA'>
<B>Email Subject:</B><INPUT TYPE=TEXT SIZE=25 NAME=ESUB VALUE= "Letter from Relocation" >
<INPUT TYPE="Submit" NAME="EMAILMe" VALUE="Send">
</FORM>
If I have:
Mydb.dbOptions = "ExportMagic=True" then the VALUE= statement for the emailaddress won't work. I comment out the dbOptions statement, then it will work, but I don't get any formatting for the percent and date fiedls.
How can I have both the formatting for the percent and date fields in the template, and have the email address fill-in?