Event Registrations

Hi

I have a webform with some fields like Name: Birthday: Email: Section, and to see this webform the users need to do login with galaxy account. What i want to know is how to put that fields(Name,Birthday,Email,Section) automatically filled with the information of the galaxy account.

Answers

Hi,

that one is quite easy to achieve.. you have to edit the field, let's say Email (the field you want users to fill in their email).. so Edit in webform Form Components, and 3rd field here is Default value.. under that you see Browse available tokens, have a look at Current user or Current user > CAS attributes (there is another link Available tokens for CAS)..

so for email that would be [current-user:mail] or [current-user:cas:attribute:mail]