Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Contact Form
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

middleweb
Junior Member

USA
230 Posts

Posted - 23 August 2003 :  17:14:34  Show Profile  Visit middleweb's Homepage
I have a contact form:
www.ben-harper.net/contact.asp
...If a user is logged in, I want it to automatically get either their username or real name and put it in the "NAME" field, also email address if possible.

Can I do that?
-Gabe


Edited by - middleweb on 24 August 2003 03:17:38

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 23 August 2003 :  20:34:35  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
The link leads to http://www.silverssoftware.com/ and no contact form?

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 24 August 2003 :  03:17:24  Show Profile  Visit middleweb's Homepage
Oh crap.
www.ben-harper.net/contact.asp <--Sorry, just switched it to the REAL server. lol

Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 24 August 2003 :  03:38:50  Show Profile  Visit middleweb's Homepage
OMGOSH!
I DID IT! lol
First week of computer programming (learning visual basic) paid off ;)


Here's how I did it:
In the head I DIM'ed the variable user2 as "ChkString(strDBNTUserName, "display")"...then in the body's input boxes, I made the value = to user2. So hell yeah. lol

Go to Top of Page

middleweb
Junior Member

USA
230 Posts

Posted - 24 August 2003 :  22:56:04  Show Profile  Visit middleweb's Homepage
On the Admin's variables page, I didn't see one for a user's email address...can I extract this from the database somehow?

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07