Forums

WYSIWYG content won't work

mobusag 16 Feb, 2022
Thanks for the wonderful tool, but the following problem I have with a form:
When I add a RichText text field, this field is not passed correctly. Neither in the database nor in the email the content of the text field appears.
If I create this as plain text, it is passed cleanly.

What is funny, if I fill out the form several times in a row, then it can happen that the field is passed correctly. Also in the coming it is passed, but not the new but the old. so that looks like this:
1. form text field:
Hello this is bold and red

1. email from text field:
Hello that is bold and red

2nd form text field:
Hello this is italic and green

2. email from text field
Hello this is bold and red

The rest of the content of the form and the email matches. only the text field with the richtext is not passed cleanly.

I have tried this on another website and had no success there either.

In my opinion it can't be the cache, because I have cleared it.

Does anyone know such a phenomenon?

Thanks for the help
Greetings Bambi
Colnem 17 Feb, 2022
Hi

I think that Text field is not the good element to do what you do. Text field is to inform a simple table field.
It's better to use Textarea with Rich Text Editor to insert HTML Code.

That said, I'm not sure if the error came from Text Field. To be tried...
mobusag 17 Feb, 2022
Hy Colnem

Thanks for your reply. That was a translation fault from German to English. I use the Textarea. Sorry for that.

Greetings Bambid
mobusag 17 Feb, 2022
under the following link you can test the form:
https://www.fricktal.info/index.php?option=com_chronoforms6&cont=manager&chronoform=online-bestellung-f%C3%BCr-inserate
I have switched on the debug, so you can see what happens. Maybe it helps.

Thanks greetings Bambi
GreyHead 17 Feb, 2022
Hi Bambi,

I ran a test on your form and the data from Manuskript was not submitted at all - I have no idea why though :-(

Similar data in bemerkungen was OK.

Bob
mobusag 17 Feb, 2022
Hello GreyHead

Thank you for the test. I have received the mail. Yes with the bemerkungen I have the richtext switched off this also works wonderfully. but that with the richtext does not go unfortunately.
I had tried it also on another web page also there without success.

I must continue to search.

Greetings Bambi
Colnem 17 Feb, 2022
Hi

I tried recording text Rich Texte Editor in a database table and it works very well.
mobusag 17 Feb, 2022
Hi Colnem

Thanks for Testing. I Think i received the mail. But the Manuskript part was empty

Result:
Firma toto
Name toto toto
Strasse toto 023456
PLZ/Ort toto toto
Telefon 025566771
E-Mail toto@orange.fr
Zeitungstitel/Kombinationen fricktal.info
Rubrik fricktal.infoSpaltenbreite 1 Sp Ins
Spaltenbreite 1 Sp Rek
File ["undefined"]
Erscheinungsdaten
Manuskript
Auftrag/Offerte/Rückruf Auftrag
Bemerkungen

---
Colnem 17 Feb, 2022
I tried with my own form on my site and it works.

I've tried also by email with my own form on my site and it works.
mobusag 17 Feb, 2022
Ah ok then I have to keep looking for the solution. I think that it is not a big deal, but as it is, you can not see the forest for the trees.
Colnem 17 Feb, 2022
Hi

I've sent an email to you with your form.

I've received a copy: color, bold, italic, are OK.

Bye
mobusag 18 Feb, 2022
Thank you for the feedback, the mail also arrived correctly. but I tried again without success. As I mentioned in the 1st post there are sometimes that it works and then again no longer. and if it works twice, then certainly the content at Manus is still the previous. I do not know what to do.

Greetings Bambi
Colnem 18 Feb, 2022
I suppose that your mailing software is in HTML mode...

May be it's not a CF6 bug...
1 - Try with another browser. If you will, I can test with Opera, Edge, Firefox and Chrome Browser....
2 - Try with another PC
3 - Save the TextArea field in a database table and look at the HTML Code.
You need to login to be able to post a reply.