Hello Anton, Thanks for the answer! I'm not sure if we are in the same place.
I want to prepare the email in the paragraph "E-Mail Settings" (Screenshot). As
far as I've seen, I have only access the form data (${subject}), ie. the value,
equal to the parameter-map in the ContactEmailProcessor.
Greetings,
Patric
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Anton Matheis
Gesendet: Montag, 14. März 2011 14:21
An: Magnolia User-List
Betreff: Re: [magnolia-user] Form Module: Read Label from Select, Checkboxes or
Radios in Email
Hello Patric,
you can see how Magnolia is doing it in
DefaultFormDataBinder#getErrorMessage(String message, Content node) for normal
fields and in formSelection.ftl of the from module how the labels are retrieved
for check boxes etc.
So for the selections you would have to read the labels definition and split at
newlines like in the template.
Greetings,
Anton
On Mon, Mar 14, 2011 at 12:31 PM, patric dosch
<[email protected]> wrote:
> Hello list,
>
> when sending an email using the form modules, I would like to read the
> label of the selected entries to a select or group of checkboxes / radios.
> Currently I just get the form-value. Is there a suggested way to get
> the label?
>
> Greets, patric
>
> ________________________________
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
<<attachment: email-settings.png>>
