Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Manual (EN)

cliffparnitzky edited this page Oct 16, 2012 · 6 revisions

Manual (EN)

Insert tags

Provides all known insert tags to get information of a member as listed here (replace user with formmember::<FORM-FIELD-NAME> !).

Important note: The members id will be read from $_POST or $_GET, so the return value for the Member Select-Menu field has to be Member-ID.

Known insert tags are:

  • {{formmember::<FORM-FIELD-NAME>::firstname}} ... This tag will be replaced with the first name of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::lastname}} ... This tag will be replaced with the last name of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::company}} ... This tag will be replaced with the company of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::phone}} ... This tag will be replaced with the phone number of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::mobile}} ... This tag will be replaced with the mobile number of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::fax}} ... This tag will be replaced with the fax number of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::email}} ... This tag will be replaced with the e-mail address of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::website}} ... This tag will be replaced with the web address of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::street}} ... This tag will be replaced with the street of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::postal}} ... This tag will be replaced with the postal code of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::city}} ... This tag will be replaced with the city of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::country}} ... This tag will be replaced with the country of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::username}} ... This tag will be replaced with the username of the selected member.

Also useful but not documented insert tags are:

  • {{formmember::<FORM-FIELD-NAME>::dateOfBirth}} ... This tag will be replaced with the date of birth of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::gender}} ... This tag will be replaced with the gender of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::state}} ... This tag will be replaced with the state of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::language}} ... This tag will be replaced with the language of the selected member.

Additional insert tags are:

  • {{formmember::<FORM-FIELD-NAME>::age}} ... This tag will be replaced with the age of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::name}} ... This tag will be replaced with the name (combination of firstname and lastname) of the selected member.
  • {{formmember::<FORM-FIELD-NAME>::salutation}} ... This tag will be replaced with the salutation (Ms or Mr) for the selected member.
  • {{formmember::<FORM-FIELD-NAME>::welcoming::formally}} ... This tag will be replaced with a formally welcoming (Dear Ms or Dear Mr) for the selected member (without parameter 4, the formally welcoming will always be return: {{formmember::<FORM-FIELD-NAME>::welcoming}}).
  • {{formmember::<FORM-FIELD-NAME>::welcoming::personally}} ... This tag will be replaced with a personally welcoming (Dear) for the selected member.

Additional information

  • For properties with regular expression of date / time / datim (defined in eval array of DCA config) a custom dateformat could be set (e.g. {{formmember::<FORM-FIELD-NAME>::dateOfBirth::d. M Y}} will be replaced with 14. Nov 1991). If no custom format was found, the systems default will be used.
  • For properties of datatype array and existing foreign key (defined in DCA config) the text values will be read from database (e.g. {{formmember::<FORM-FIELD-NAME>::groups}} will be replaced with Piano Students, Violin Students).
  • If the member Member Select-Menu field provides multiple selection, each tag returns a comma separated list of the attribute values of the selected members.