There are several futures that can help to get the information. The best place to get token source is click "Browse available Tokens". Here are some examples.
Q: By default, Yale user can log into Drupal with his netid, Drupal will create an account with some basic from Yale Directory, so if a user log into a form, we can get user's information as default value with the following token:
- [current-user:name] for Current login user's name
- [current-user:mail] for E-mail
Q: We like a form to populate with information that pass in the URL to this form.
- When click "FindIT Feedback" link, the URL for that search result will be something like this:
http://web.library.yale.edu/form/findit-feedback?findITURL=http://findit... - On the form we have a textfield "FindIT URL" that will get the findITURL value:
http://findit.library.yale.edu/catalog/digcoll:1234 - In Order to get that result, all you have to do is set the default value for that field from available tokens:
[current-page:query:findITURL]