Solved

Wordpress Forms NOOB question

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

809 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