BUG: Submission on type hidden broken + bugfix

Sigurður Guðbrandsson created the topic: BUG: Submission on type hidden broken + bugfix

I was trying to submit a type hidden (that I modified by adding the actual logged in user ... using the form to submit hours worked..) and I noticed that when submitting, the data in the "hidden" field wasn't saved in the database - even though it was sent. (I analyzed this with a packet sniffer)

Anyway, I found the bug.
It is in formmaker.js line 2076
Replace "adding.setAttribute("name", w_name);" with "adding.setAttribute("name", i+"_element");" and save your form.
If you have hidden elements on your form, either edit the forms and remove the hidden column or edit the form in the database itself (manually).

#768

Please Log in or Create an account to join the conversation.


Sigurður Guðbrandsson replied the topic: Re: BUG: Submission on type hidden broken + bugfix

ugh .. seems that didn't even work (only when you're creating the forms..)
Seems the bug is possibly in the save_db function..

#769

Please Log in or Create an account to join the conversation.


Sigurður Guðbrandsson replied the topic: Re: BUG: Submission on type hidden broken + bugfix

ugh .. I gave up and just manually entered the hidden field name in the functions.php code .... this is something that's broken.

#770

Please Log in or Create an account to join the conversation.


Sigurður Guðbrandsson replied the topic: Re: BUG: Submission on type hidden broken + bugfix

*HINT* line number in functions.php is 3303

#771

Please Log in or Create an account to join the conversation.


Administrator replied the topic: Re: BUG: Submission on type hidden broken + bugfix

Dear Sigurður,
Please give us a temporary admin user account (send it to [email protected]) to your site, and we will try to find out the problem of WordPress Form Maker.

Best regards
Web-Dorado team

#776

Please Log in or Create an account to join the conversation.


Time to create page: 0.204 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us