3 users online. Create an account or sign in to join them.Users
How to put an array into send-email's body?
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
OK, just for the record:
I solved this by adding an extra hidden field my-selection:
<input name="fields[my-selection]" type="hidden" value="{title}" />
Then adding it to the send-email filter:
<input name="send-email[body]" value="fields[my-selection],fields[address]" type="hidden" />
I was a bit surprised that it works because my-selection had not been defined in my Orders section.
hidden feature :)
Create an account or sign in to comment.
Hello,
How can I get an array into the
send-emailevent?This is my form:
<form method="post" action="" enctype="multipart/form-data"> ... <input name="fields[selection][]" type="hidden" value="{@id}" /> ... <input name="send-email[body]" value="fields[selection],fields[address]" type="hidden" /> </form>When I get an email, it just says:
... and that's it.
When I use
I get the same code as an email:
How can I get a value in there?
Thanks for any help.