Dear all,
I have a big problem with my form.
I try to add file field to the form, and add property on file upload event. But when I submit the form. It show "This webpage is not available | ERR_CONTENT_DECODING_FAILED"
Thank you
Hi Yudhizth,
First, the form is enormous - there are something like 33 file uploads and several multipliers. I cannot imagine that many users will manage to complete it :-( I'd suggest that you break it down into two or three separate forms and link them together.
I have restored the form but can't see it because of the way the User Authentication is set up - and I don't have the correct tables to easily fix that.
I don't recognise the error - not something I've seen reported here before. Googling it shows that it may be something to do with server limitations.
What is the URL you see when the Error message is shown - is the form submitting at all?
Bob
Thank you Bob,
Yes I think so.
The url still normal, with parameter &submit, nothing wrong with url. And the form submitting normally too. Data stored into database, but can't show the result page and only show "This webpage is not available | ERR_CONTENT_DECODING_FAILED"
Hi Yudhizth,
Does it fail after the first page submits, or the second one?
Bob
Hi, Bob.
When submit event. Even I put debugger on submit, it doesn't work.
Hi Yudhizth,
You have a lot of custom code and actions in there. I suggest that some systematic debugging is the only way to pin the error down.
Make a copy of the form so that you have backup. Give the copy a different name e.g. xxx_test then go through step by step, commenting out Custom Code, disabling actions until you can identify exactly where the error is. My first bet would be on the TCPDF action - but that is just a guess.
As a design suggestion for the future I suggest that you avoid using the On Success events of actions as far as possible. Usually it's neater to keep the main flow of actions in the parent event.
!!! Looking at the form again I noticed that you have a Custom Code action after the TCPDF action with <html> tags in it - that must surely be wrong !!!
Bob
Thankyou Bob,
Actually, I have previous version form. It only contain an about 12 fileupload with same configuration with the form that I uploaded before, that was not problem at all. On the latest version, I add an about 14 fileupload and configure custom code because fileupload increase. I don't think the problem come from my setup, I guess it come from designer.
although I disable check captcha feature from submit event, it still not work.
Thank you for your advice, I will avoid in the future.
Yes, that's my fouls 😶 and thank you for remind me.