Skip to content

EXT:formhandler – E-Mail – Separator for values from checkbox groups

26. February 2012

Problem
When mailing form data from a checkbox group,
the resulting string is “value1,value2, …”

Cause
The default separator for array data is “,”.
There is no blank after the comma.

Solution
Change the separator string with config option “arrayValueSeparator”

finishers {
   1.class = Finisher_Mail
   1.config {
            ...
            user {
                  ...
 html.arrayValueSeparator = TEXT
 html.arrayValueSeparator.value = , 
 html.arrayValueSeparator.noTrimWrap = || |

             }
   }
}

Links
http://forge.typo3.org/issues/29468
http://www.typo3-formhandler.com/documentation/finisher/finisher-mail/

Advertisements

From → EXT:formhandler

Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: