Developer forum

Forum » Templates » Dynamic subjectfield in forms

Dynamic subjectfield in forms

Aki Ruuskanen
Reply

Hi,

I need to set the subjectfield in the mail that is sent when a form i submitted (new Forms module).

Is there any hidden field I can use for this purpose to overload the form setting. 

Example page:

http://www.stewartwarner.com/Products/StewartWarner/Product-families/Deluxe%E2%84%A2/Fuel-Level-Sender--P-N-385AB-P.aspx#prettyPhoto/1/

The subject field is automatically set to the current productname.

 

Regards / Aki


Replies

 
Mikkel Ricky
Reply

You cannot set the subject to a (hidden) field in your form, but you can create a custom form save provider that can use one of the fields as the email subject (see file:///Volumes/Data/Users/mri/Downloads/(en-US)+Datalist+and+Forms+Extensibility+API.pdf).

Best regards,
Mikkel

 

You must be logged in to post in the forum