Page 1 of 1
form message problem
Posted: Thu Apr 03, 2025 11:43 pm
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
Re: form message problem
Posted: Fri Apr 04, 2025 5:53 am
by Pablo
Maybe you did not set the end of line character for messages (Advanced Form properties) to the recommended value is 'CRLF'?
Re: form message problem
Posted: Fri Apr 04, 2025 6:32 pm
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
Re: form message problem
Posted: Fri Apr 04, 2025 6:53 pm
by Pablo
Maybe you will need to add an extra line in the formatted text?
Re: form message problem
Posted: Fri Apr 04, 2025 9:30 pm
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.
Re: form message problem
Posted: Sat Apr 05, 2025 5:48 am
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.
Re: form message problem
Posted: Sat Apr 05, 2025 2:03 pm
by Chameleon
Cheers Pablo,
It is not really a problem at least I can receive the form details.
Thanks for your help
William