User Form
This is a maintenance topic, used by the Wiki administrator.Data form definition of user topics
Before changing this form, please read the guidelines at Customizing the User Form below.Name | Type | Size | Values | Tooltip message | Attributes |
---|---|---|---|---|---|
FirstName | text | 40 | |||
LastName | text | 40 | |||
OrganisationName | text | 40 | |||
OrganisationURL | text | 40 | |||
Profession | text | 40 | |||
Country | select | 1 | |||
State | text | 40 | |||
Address | text | 40 | |||
Location | text | 40 | |||
Telephone | text | 40 | |||
VoIP | text | 40 | |||
InstantMessaging (IM) | textarea | 50x4 | (One account per line, if several) | ||
text | 40 | ||||
HomePage | text | 40 | |||
Comment | textarea | 50x6 |
Customizing the User Form
If you want to change the user form, you would first want to make a copy of this form to the Main Web. That ensures your changes stay intact after a Foswiki update. To create a custom user form, do this:-
you will return here after saving
- Or create a copy by hand:
- Take a copy of this topic and save it to Main.UserForm
- When editing your new UserForm topic, change the entries in the data form definition. You may remove all explanation around the table.
Your form changes will only be visible in a user topic after it has been saved.
Please keep the UserRegistration form and the user form definition in sync. When you update the user form you need to edit/save the System.NewUserTemplate (not recommended, see below). This ensures that the fields are in the right order.
A form for new users
If a new user registers, the new user page is prefilled with the contents of System.NewUserTemplate. That template also contains a user form, based on the form definition in System.UserForm. If you use a custom user form, you ought to use a custom 'new user' template as well. This will make your changes safe to future Foswiki upgrades. To create your custom new user template, do this:-
you will return here after saving
- Or create a copy by hand:
- Take a copy of System.NewUserTemplate and save it to Main.NewUserTemplate
- Set the topic form to your custom Main.UserForm topic
Related topics: WikiUsers, PatternSkinUserViewTemplate, NewUserTemplate, UserHomepageHeader, DataForms, UserRegistration