Can I set the subject field of the Form submission email dynamically?
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.
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
Did this article resolve your issue ?