Legacy Knowledge Base
Published Jun. 30, 2025

Can I set the subject field of the Form submission email dynamically?

Written By

Tímea Bihari

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • We have a Form with a dropdown field where users can select from pre-defined values.
  • An email notification is set up for the Form to alert about new form submissions.
  • We would like to set up the notification email subject dynamically: whichever value the user chooses from the dropdown should be added to the email subject field.

Environment

  • Liferay DXP 7.0+

Resolution

  • It is currently not possible to achieve this behavior.
  • It is only possible to enter static text into the Subject field and that will be used for all notifications.
  • You can configure the details of the notification email based on this article: Form Notifications

Additional Information

  • A Feature Request ticket was opened for this feature: LPS-94742.
  • It is up to our Forms Product Team to evaluate the request and decide whether it will be implemented in the future.
  • You can Vote for the Feature Request and add yourself as a Watcher to get notified about its progress.
Did this article resolve your issue ?

Legacy Knowledge Base