CodeIgniter Forums
POST object has textarea contents empty - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: POST object has textarea contents empty (/showthread.php?tid=42384)



POST object has textarea contents empty - El Forum - 06-06-2011

[eluser]Unknown[/eluser]
Guys, im scratching my head around this one.

I have this website that basically contains a few forms that are filled in by the user. The user then can download that information in human readable format (pdf) or machine readable format (xml) but I'm having a slight problem submitting textboxes.

I have a few of them, for instance in the description section, but when i access the $_POST['Desc_Desc_desc'] value, it's empty even though i can see content on the textarea. The weird thing is that when i use firebug to inspect the element, it shows the element as if it had no contents..

Can anyone figure what is causing this strange behavior?


POST object has textarea contents empty - El Forum - 06-06-2011

[eluser]Unknown[/eluser]
Hey Miguel, could you share your form markup?

PS. I looked at your site and base_lib.js, and I don't see any form data being submitted from form#hidden_content2. Is that it?

PPS. Your topic is not CI-related. If I were you, I'd try posting or Stack Overflow, or some other general HTML/JS discussion board.