[an error occurred while processing this directive]
The WebCom Forms Processor - Form Values
Values in the configuration file for your fill-out forms can be either literal values, for instance "acme@webcom.com" for an email address, or can take on the value of a form field or one of the system values already defined for you, such as the user's email address).
To use the value of a form field instead of a literal value, simply use the name of the field, prefixed with a dollar sign ($) in place of the value. For example, suppose you had a form with the following field:
If you look at the source for this page, you'll see that the value of each option in the above drop-down listbox is actually an email address, and the field itself is named 'email_address'. With this construct, we could send the contents of the form to the selected email address by including the following line in the configuration file:
email=$email_address
The dollar sign means 'the value of the field whose name follows', so the email would be sent to the address corresponding to the selection in the drop-down listbox. In this way, any configuration file values can be set from form fields instead of litera values in the file.
[an error occurred while processing this directive]