User Added Fields- Extracting Info

Discussion in 'Customization & add-ons' started by tonyclub, Jun 20, 2011.

  1. tonyclub

    tonyclub New Member

    Joined:
    May 21, 2011
    Messages:
    5
    The existing user fields do not show a house name only a street name.I have added a user field called House which I note is stored in Data.
    How can I extract the House field info for the email edit where you can insert certain user fields into the email template ?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Use this variable:
    {$user.data.FIELDNAME}
  3. tonyclub

    tonyclub New Member

    Joined:
    May 21, 2011
    Messages:
    5
    Alexander - Thanks for this.
  4. amemberman

    amemberman aMember Pro Customer

    Joined:
    Mar 29, 2011
    Messages:
    9
    Hi,

    I have an issue with inserting a field and was wondering if this can be fixed?

    I have used {$user.data.preferred_name} and it comes up with an extra space on both sides of the field, even though I have no spaces in my code.

    eg(using Bob as an example) It looks like "Dear Bob ," instead of "Dear Bob,"

    Thanks for any ideas.
  5. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    try
    {$user.data.preferred_name|trim}

Share This Page