Sorry for this question, but I want to understand a DTML example which is in the DTML.pdf
The sendmail example oblige to put the different variables on :
- the variables subject and body are supplied from the FeedbackForm
- the variables support and feedback are supplied from Folder properties
I don't understand why (the different variables may be defined on the Feedbacksend dtml document no ???)
Another problem is : on my feedback Form I can change the subject and object value, but, when I add an input to change the support value, the parameter on the line command is change, but the mail is send on the default adress.
The example :
To: Product Support <<dtml-var support>>
From: Web Feedback Form <<dtml-var feedback>>
Subject: <dtml-var subject>
Thank you for your input!
Figure 14. A sample document that uses the dtml-sendmail tag
<H2>We want your input!</H2>
Destination : <input type=text name=support size=40>
Subject: <input type=text name=subject size=40>
<textarea name=body rows=10 cols=50>
<input type=submit value="Send Feedback">
Figure 15. A feedback form that collects a subject and body from a user and submits them to the SendFeedback document
shown in figure 14.
Excuse me for my English, but I'm a little french developper without any experience ....