Textarea messes up dropdown

How to fix dynamic dropdowns breaking after using the enter key in a textarea.

Overview

The issue occurs because some server security settings block URL-encoded newline characters from the textarea in Ajax requests.
Check and adjust your server's security settings to allow URL-encoded strings, or test on a server without such restrictions.

Answered
ti tico92 09 Nov, 2015
Hi,

In my form I got some dynamic dropdowns. All work perfect until .....

There is a textarea box in the form and when I use the enter key in the textarea box all the dynamic dropdowns stop working.

Can you help please.

This is private content




Thanks
Tico
Gr GreyHead 09 Nov, 2015
Hi Tico,

That is an odd problem. ChronoForms sends all of the form data back with the Ajax query and your server is sending a 400 Bad Request error when the data includes a URL Encoded string like &bijzonderheden=%0D%0A

I haven't seen this before so my best guess is that this is coming from a server security question that is blocking this kind of URL. Please check the site security settings and see if you can see anything there that might cause this.

Bob
ti tico92 10 Nov, 2015
Answer
Hi Bob,

it is server related. Luckily this was my trial server and the other server doesn't give the problem.
So thanks and it is solved for me.

kind regards,
Tico
This topic is locked and no more replies can be posted.