Possibly someone can help me further...
I want to design a form (with "action mail") in our wiki with the PlugIn "bureaucracy" that behaves interactively.
I would like to send the form to an email address associated with each location, depending on the location selected.
Example:
Two locations: "S1" and "S2".
If S1 is selected, the submit email should go to the address "S1@Standort1.com".
If S2 is selected, the submit email should go to the address "S2@Standort2.com".
For this I had written the following code sequence:
fieldset
select "Location" "S1|S2"
fieldset "" "Location" "S1"
hidden "Email" "= S1@Standort1.com"
fieldset "" "Location" "S2"
hidden "Email" "= S2@Standort2.com"
Action mail @@Email@@
The selection triggers the correct fieldset - so far so good.
What does not work is the apparently correct definition of the field "Email".
I get imm following error message:
E-Mail address <@@Email@@> is not valid [Mailer.class.php:397]
Does anyone have any idea where my mistake is or have any ideas?
Thank you for your feedback