You can add dynamic or calcuated values (parameters) into the default field of a text element (or list element as of CCv5b28) when building a Form.  When you type the following codes in bold into the Default field for a text element, they will be replaced with the values in the description below when a user starts to fill in the Form.

[TODAY]
Replaced with today's date.

[TODAY+N]
Where N is a number.  Replaced with a date, today's date plus N days.

[TODAY-N]
Where N is a number.  Replaced with a date, today's date minus N days.

[NOW]
Replaced with the current server time. (Added CCv5b23)

{url parameter}
Replaced with the value specified by a parameter named within the {} in the page's URL. For example, if {name} is provided as the default for a field called First Name, and the page's URL is regform.asp?name=Bob, the default for the First Name field will be Bob. (Added CCv5b23). If the name of the URL parameter is preceded by ~ (tilde), the value of the querystring parameter will be assumed to be encrypted with Community Center encryption and will be decrypted before use in the form. For example, if {~name} is provided as the default for a field called First Name, and page's URL is regform.asp?name=iq6eQH, the default for the First Name field will be Bob(Added CC6.03).

[CC_code]
Only valid when a Community Center user is logged in.  This parameter is replaced with the user's registration data specified by code.  Possible codes are (note that these are case sensitive, and must be typed exactly as shown):

Email - email address

Name - full name, first and last

FirstName - first name only

LastName - last name only

Organization - organization name

StAddress - street address

City - city

State - state

Zip - zip code

Address - full address; address, city, state, zip

HomePhone - home phone number

WorkPhone - work phone number

CellPhone - cell phone number

Pager - pager number

Fax - fax number

URL - web site address

[Session:variable]
Replaced with the value of the Session Variable named variable. This is only used when creating new code using Community Center's API. (Added after CCv5b24)

Component for this Procedure: Form
Minimum Community Center Version: 5
User Role: Editor
Procedure Link: http://www.liaa.org/howtoprocedure.asp?howtoid=19