Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Custom Fields on User Panel

Custom Fields on User Panel 11 years 7 months ago #20448

  • turntwo21
  • turntwo21's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hey fellas,

Is it possible to display a custom field I have set up on my registration form when then user goes into their User Panel.

For instance, instead of showing the event name (we only have one event), I would like their Booth Name to be dispplayed.

Here is the code that is currently displaying the Event Name. How would I get this to show my custom field?

<td style="width:200px;">'.$tuser->TableEvent->displayTitle().' </td>';

Thanks!

Please Log in or Create an account to join the conversation.

Custom Fields on User Panel 11 years 7 months ago #20449

  • turntwo21
  • turntwo21's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I figured this out right after I posted. Here's the solution for anyone wanting to do this.

.$tuser->getFieldByName('yourfieldname').

is the code, where 'yourfieldname' is the name of the field you want to use.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.262 seconds