######## *define-variables* section ########
*define-variables*
# Note that all variables expect [comment] are required
[req-name]
[req-email]
[req-phone]
[req-address]
######## *success-response* section ########
*success_response*
# Note the !use-linebreak-mode command below
# This will cause
s to be added at the end of each line in the comment
# but only for this section
!use-linebreak-mode = [comment]
# just a simple success-response here which
# verifies that all required variables were completed
Name: [name]
E-mail address: [email]
Phone number: [phone]
Street address: [address]
Comment:
[comment]
Return to the original form.
######## *error-response* section ######## *error-response*
As you enter information into fields and re-submit the form you'll notice the completed fields disappear. If you view the source, you'll see that complete fields are coded as hidden form values.
# The form below is just like the original except that if the user # has supplied a value, we !carry-forward the information.. # If no value was supplied, we print "oops" and ask for the value # again
Return to the original form.