Personal tools
You are here: Home Products PloneFormGen Documentation FAQs How do I make a field default to the member's name/address/id?
Document Actions

How do I make a field default to the member's name/address/id?

Up to Table of Contents

This FAQ applies to: Any version.

In the field's override fieldset, set the Default Expression to:

here/memberEmail

memberEmail is a method of the form folder which will return a member's e-mail address, if one is available, and an empty string otherwise.

You may also use "here/memberFullName" to get the member's name, and "here/memberId" to get the login id.

Please note: memberEmail, memberFullName and memberId are just a convenience facility of PloneFormGen. They are not part of the Plone API.
by Steve McMahon last modified November 2, 2006 - 16:51

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by