Show forms that were submitted by the currently logged in user
Posted: 28 June 2009 09:21 AM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2009-06-16

is there a way to use the freeform module to show form entries that were submitted just by the current logged in user? Like this

{exp:freeform:entries form_name="{screen_name}" orderby="entry_date" sort="asc" limit="20"} content {/exp:freeform:entries} 

or even something like this (im an EE n00b)

{exp:freeform:entries form_name="initial_questionaire" orderby="entry_date" sort="asc" limit="20"
{if logged_in_member_id 
== {author_id}}
<p>{info}</p>
{/if}
{
/exp:freeform:entries} 

Thanks for the direction anybody.

Profile
 
 
Posted: 29 June 2009 07:41 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8238
Joined  2006-10-18

fyr3,

There currently isn’t an author_id parameter or anything like that. But building off off something you posted, you could use this workaround:

If you do not need to keep track of seperate “dynamic” forms using the form_name parameter, you could use it then to track Member ID’s (or screen names). So, in your Form, do this:

{exp:freeform:form form_name="{logged_in_member_id}"

And in your Entries loop, do this:

{exp:freeform:entries form_name="{logged_in_member_id}"
 Signature 
Profile
 
 
Posted: 29 June 2009 11:36 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2009-06-16

awesome, thanks for the help smile

Profile
 
 
   
 
 
‹‹ Status      Old Documentation ››