Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wordpress Forms NOOB question

Posted on 2014-01-10
2
Medium Priority
?
326 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

885 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