Forums

Word break in mail to admin

Willy12 18 Feb, 2016
Hello,

I create a nice contactform for guests on my website.
It works great.
The fillin options and the sent options looking good but:

In the form I have a textarea box with 5 rows and 40 columns. If I put text in here it has a nice word break at the end of the box and all fit nice into the box.

But in the mail sent to the admin there’s no box just the line with the label and the text from the textbox in he fillin form.

In the mail is no break word so the text is on one line and create a scrollbar below to scroll to the right to the end of the text.

If the question from a guest is about 100 words you can imagine this is a lot of scrolling.

Is there a way to put also a break word in the mail so it is easy reading for the admin?

Thanks for the help
GreyHead 18 Feb, 2016
Hi Willy12,

Normally an email folds automatically. You can try adding some CSS to limit the width of the tag used to display the textarea content.

Bob
This topic is locked and no more replies can be posted.