You are viewing limited content. For full access, please sign in.

Question

Question

LF Forms & Accessing Joomla's Current User Object

asked on March 12, 2014 Show version history

We have an Intranet that we will have links to different forms for our employees to fill out. Our employees will have to authenticate to the Intranet that is using Joomla as a backend before they can access certain forms. I would like to be able to auto fill some of the fields on the form with information that is in the "Current User Object" with Joomla. There is information (see here) about how to access the current user object in Joomla, but I have not been able to get it to work.

 

We are displaying the LF Form in an iFrame on the Intranet. Since Joomla is PHP and LF Forms is asp.net I'm not sure how to get the two to talk to each other. Does anyone have experience with this type of scenario that would be willing to shed some light on this for me?

 

If I can pass the values that I want in the URL, would I be able to get the Form to grab that information to fill out the fields? I found this article that uses JavaScript to grab the URL from the window. Would that work?

1 0

Answer

SELECTED ANSWER
replied on March 17, 2014

I was able to use a module for Joomla called Sourcerer to grab the user object from Joomla and pass it in a URL that Laserfiche Forms can then handle.

0 0
replied on January 25, 2018

Blake,  I know that this is an old old old post but could you please share how you got this to work (if you still have it available)?

0 0

Replies

replied on March 13, 2014

If you can get values on the parent page (including the parent page's URL), you should be able to pass them into the form using a modified embed code. This page in the online help has more details on the modified embed code.

0 0
replied on March 18, 2014

I have been trying to work with the modified embed code, but I am a little confused. The section that shows the modified embed code doesn't look the same as what is shown in the example on the same page.

 

What I am needing is to pass a parameter named Name_of_person_filing_report from the parent page to the form. I have the bpid and the FormsServerURL. It just doesn't seem to be working correctly.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.