Hello, I've been reading this forum for a while and are hoping that I could also get some of those wonderful people to help me.
My problem:
I'm using the secure pass lookup mod (complete). So now people sign up with a username and e-mail, and a pass will be send. When they login I would like the e-mail to show up in the add record page (retreiving it from the .pass file).
If I use the autogenerate function it does work but as soon as I turn that of nothing appears in the e-mail field.
I have this in sub build_html_record_form {
------------------------------------
my (%rec) = @_;
if ($in{'add_form'}) {
$rec{'email'} = &get_email ;
}
------------------------------
And the following in sub html_record_form {
--------------------
<TR><TD ALIGN="Right" VALIGN="TOP" width="30%"><$font_color>email:</FONT></TD>
<TD VALIGN="TOP" width="70%"> <INPUT TYPE="text" NAME="email" SIZE="20" VALUE="$rec{'email'}" MAXLENGTH="255"></TD></TR>
------------------------------
Any suggestions are very welcome
Ronmon
My problem:
I'm using the secure pass lookup mod (complete). So now people sign up with a username and e-mail, and a pass will be send. When they login I would like the e-mail to show up in the add record page (retreiving it from the .pass file).
If I use the autogenerate function it does work but as soon as I turn that of nothing appears in the e-mail field.
I have this in sub build_html_record_form {
------------------------------------
my (%rec) = @_;
if ($in{'add_form'}) {
$rec{'email'} = &get_email ;
}
------------------------------
And the following in sub html_record_form {
--------------------
<TR><TD ALIGN="Right" VALIGN="TOP" width="30%"><$font_color>email:</FONT></TD>
<TD VALIGN="TOP" width="70%"> <INPUT TYPE="text" NAME="email" SIZE="20" VALUE="$rec{'email'}" MAXLENGTH="255"></TD></TR>
------------------------------
Any suggestions are very welcome
Ronmon