Solved

Wordpress Forms NOOB question

Posted on 2014-01-10
2
298 Views
Last Modified: 2014-03-18
All,

I am working on setting up an intranet site for our company using wordpress, everything is going well and then I realized there are two forms that our company uses that I must recreate on the wordpress site.   These are internal forms that are currently written in Frontpage (Don't Laugh) and the domain username from the user is captured automatically on the form without the users input.  

Is it possible to capture this information in Wordpress and what would i need to use to do so?   Keep in mind that we are an Active Directory Domain, and these are intranet sites.

Thank you in advance for your help
0
Comment
Question by:Earl Kelly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39772467
You can either write your own HTML forms and processing script in PHP or (probably easier) install and use one of the many form plugins available to WordPress.

Rather than capture the AD stuff, what I would do is integrate the AD accounts into the WordPress user ecosystem.  This can be easily accomplished via plugins too:

http://wordpress.org/plugins/active-directory-integration/

and then take advantage of a good form plugin that captures user info along with whatever fields you define.  I'm partial to both Formidable Pro and Gravity Forms but they are not free (I've already bought them for clients so it's a sunk cost for me).  On the free side, look at Contact Form 7 and Ninja Forms.
0
 
LVL 15

Expert Comment

by:pcsmitpra
ID: 39776986
Try this code

Function Ret_UName()
Ret_UName = Environ(“UserDomain”) & “\” & Environ(“Username”)
End Function
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to count occurrences of each item in an array.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question