I want to post a variable on the subject field, cause I use the same form in different places. And want the subject to indicate what instance of the form I have used...
{set-block scope=root variable=subject}{"Collected information from %1"|i18n("design/standard/content/edit",,array($collection.object.name))}{/set-block}
{* Use this line to specify the e-mail in the template, can read this from the object to
make it dynamic pr form
{set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}
*}
{* Set this to redirect to another node
{set-block scope=root variable=redirect_to_node_id}2{/set-block}
*}
{"The following information was collected:"|i18n("design/standard/content/edit")}
{section name=Attribute loop=$collection.attributes}
{$Attribute:item.contentclass_attribute_name|wash}:
{attribute_result_gui view=info attribute=$Attribute:item}
{/section}
But I do not want the subject to be the NAME, but a field called SUBJECT. (The field SUBJECT is defined in the class, but not an information collector. It is given the value through the admin interface.)