Customize Ektron HTML Form Email Layout

2019-08-03 22:51发布

I would like to know if there's a way to customize the email HTML body contents when submitting an Ektron HTML form.

For example, a form is submitted and the form data is emailed to john@doe.gov. Upon opening the email, there is a table containing the data from the submitted form. I want to know if there's a way to modify the HTML table which was generated for that email.

My goal is to experiment with some CSS to force word-wrapping in the table so lengthy textarea-input data will be wrapped appropriately.

2条回答
霸刀☆藐视天下
2楼-- · 2019-08-03 23:04

I've never tried customizing it, so I don't know if there are any "gotchas", but these files look promising:

  • /Workarea/controls/forms/DefaultFormEmailBody.xslt
  • /Workarea/controls/forms/template_FormDataDisplay.xslt
  • /Workarea/controls/forms/template_FormFieldValue.xslt

The table is generated in "template_FormDataDisplay.xslt", and the individual table rows are generated in "template_FormFieldValue.xslt".

The usual "I want to modify something in the workarea" warning applies: Make backups of any file you change, and know that installing an upgrade to Ektron will overwrite any of your changes.

查看更多
可以哭但决不认输i
3楼-- · 2019-08-03 23:15

Are you using php? Because you can edit the way that email looks once you open it. This is an awesome tutorial:

http://tangledindesign.com/how-to-create-a-contact-form-using-html5-css3-and-php/

查看更多
登录 后发表回答