Solved

Wordpress Forms NOOB question

Posted on 2014-01-10
2
295 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn how to dynamically set the form action using jQuery.

735 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