Hello,
I have a problem with dependecies in the bureaucracy plugin. I wrote a form like this:
<form>
fieldset "Data"
textbox "Data"
select "Your Choice" „A|B"
action mail
forename@surname.name
usemailtemplate your:template
subject "new special subject"
fieldset "Choice A" "Your choice" "A"
Textbox „Data A“
fieldset "Choice B" "Your choice" "B"
Textbox „Data B“
fieldset "More Data“
textbox "More Data"
fieldset "Confirm Order"
submit "Submit Query"
</form>
In my template I use the placeholders
@@Data@@
@@Data A|@@Dara B|@@
@@More Data@@
The first and the second placeholder are replaced correctly with the filled-in Data, but the template doesn‘t recognise the third placeholder.
When I rewrite the form like this:
<form>
fieldset "Data"
textbox "Data"
select "Your Choice" „A|B"
action mail
forename@surname.name
usemailtemplate your:template
subject "new special subject"
fieldset "Choice A" "Your choice" "A"
Textbox „Data A“
fieldset "Choice B" "Your choice" "B"
Textbox „Data B“
fieldset "Senseles Choice"
yesno „yes|no“
fieldset "More Data“ "Senseles Choice" „yes“
textbox "More Data"
fieldset "Confirm Order"
submit "Submit Query"
</form>
- it works. But I don’t like to put in a senseles choice just for getting the form working.
What else can I do?
PS Putting the action at the end of the form doesn’t work. I tried.
Thanks & Greeting,
Max from Munich