Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JForum and the fly likes Can user registration be configured with custom fields? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Can user registration be configured with custom fields?" Watch "Can user registration be configured with custom fields?" New topic
Author

Can user registration be configured with custom fields?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can user registration be configured with custom fields?
 
Similar Threads
Strust2 validation problem
WA #1.....word association
Can't find my score
set req attr in jsp from a text field
Problem with Struts2 validation