form message problem

Issues related to forms.
Post Reply
Chameleon
 
 
Posts: 145
Joined: Sat Sep 29, 2018 7:29 pm

form message problem

Post by Chameleon »

Hi I have a form that works and I have changed the layout of the received email by changing the message to rich text and made my changes. Everything works ok apart from the actual message in the email. The message part of the received email is in one continuous block and not in different paragraphs as typed into the online form. This makes it hard to read.

Is there a way that I can have the message appear as typed i.e. with the same layout in which it was typed into the form?

Thanks

William
User avatar
Pablo
 
Posts: 23403
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form message problem

Post by Pablo »

Maybe you did not set the end of line character for messages (Advanced Form properties) to the recommended value is 'CRLF'?
Chameleon
 
 
Posts: 145
Joined: Sat Sep 29, 2018 7:29 pm

Re: form message problem

Post by Chameleon »

Hi Pablo,

I made the change you advised and did a fresh upload and it still comes back as one block of text without the formatting in the online form.
It will however add the line breaks for the other tex boxes, change text colour and font etc but not the actual message.

Thanks,

William
User avatar
Pablo
 
Posts: 23403
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form message problem

Post by Pablo »

Maybe you will need to add an extra line in the formatted text?
Chameleon
 
 
Posts: 145
Joined: Sat Sep 29, 2018 7:29 pm

Re: form message problem

Post by Chameleon »

Cheers Pablo,

I have added extra lines but all that will do is move the complete message down without changing the layout of the message. It seems that it will see the complete message as one paragraph without any returns or line breaks.
User avatar
Pablo
 
Posts: 23403
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: form message problem

Post by Pablo »

I think this is how the browser sends the message to the server.
The script does not do any special processing on the submitted data.
Chameleon
 
 
Posts: 145
Joined: Sat Sep 29, 2018 7:29 pm

Re: form message problem

Post by Chameleon »

Cheers Pablo,

It is not really a problem at least I can receive the form details.
Thanks for your help

William
Post Reply