Gossamer Forum
Home : Products : DBMan : Customization :

Problem Adding Email Field

Quote Reply
Problem Adding Email Field
Hi,

I'm trying to add a field for an email address. When I test it I get the field filled in with the word *default* (no asterisks) instead of the email addy.

I added this:

<TR><TD ALIGN="Right" VALIGN="TOP"><$font>Email: </FONT></TD>
<TD VALIGN="TOP"> <INPUT TYPE="TEXT" NAME="Email" VALUE="$rec{'Email'}" SIZE="40" MAXLENGTH="255"></TD></TR>

...and...

Email => [9, 'alpha', 40, 50, 0, '', '']


I'm missing something, but have no clue what.

Tnx in advance for your help
Quote Reply
Re: Problem Adding Email Field In reply to
This is how it works by me:

<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Email: </FONT></TD>
<TD> <$font><A HREF="mailto:$rec{'Email'}">$rec{'Email'}</A></Font></TD>
</TR>

Or do I miss your point??!!
Succes!!

[This message has been edited by mart (edited March 10, 1999).]
Quote Reply
Re: Problem Adding Email Field In reply to
Ya ... I think you did miss my point. I tried your code, but still get the word *default* (no asterisks) in the email field of the added record.

I don't need the email addy to be linked. I just need the info input to the database, rather than, as I'm getting, the word *default* (no asterisks)

Tnx though!
Quote Reply
Re: Problem Adding Email Field In reply to
My guess is that you have the user edit own set to true in the defualt.cfg. with the owner field set to field 9. Therefore the program is filling in field 9 with the user name which in your case is default user. I had the same prob. Just set $auth_user_field = -1; Problem solved! I hope..
Quote Reply
Re: Problem Adding Email Field In reply to
You got it Mike1!!!!
Thanks a million.