Submitting the logged in members name with a safecracker form
Posted: 15 December 2010 10:50 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  5
Joined  2010-11-09

I’ve been trying all kinds of ways to include the name of the logged in member that is submitting a form to no avail.  I’ve tried:

<input type="hidden" name="title" id="title" value="{member_name} - {current_time format="%Y"}" /> 

When I look at the record I get “{member_name} - 2010”

What am I missing?

Profile
 
 
Posted: 15 December 2010 11:11 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I think you’re looking for {username} or {screen_name}.

Profile
 
 
Posted: 15 December 2010 11:17 PM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  5
Joined  2010-11-09

Soooo obvious….

Come on Rob, you’re making me look bad! wink

Thanks!

Profile