Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can user registration be configured with custom fields?

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We would like to be able to customize the registration screen to capture other information.
Is there a simple way to include extra fields e.g. Organization or phone number?


[originally posted on jforum.net by scoob_2000]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way is to just re-purpose some of the existing fields (e.g. all the IM name fields..) Just change the freemarker template files to use the labels you want. Just make sure the fields in the jforum_user table are large enough.

You CAN add additional fields, but this requires modifying a fair amount of code and templates... e.g. your DAO implementation, the forms handing code, and the like.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic