CodeIgniter Forums
Retaining dynamically added input boxes after form submit - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Retaining dynamically added input boxes after form submit (/showthread.php?tid=58831)

Pages: 1 2


Retaining dynamically added input boxes after form submit - El Forum - 10-22-2013

[eluser]Otemu[/eluser]
If you don't want to use ajax then the server needs to know that you have dynamically added fields, your need the controller to loop through the POST array and return this data back to the view to build the form


Retaining dynamically added input boxes after form submit - El Forum - 10-29-2013

[eluser]Unknown[/eluser]
[quote author="PravinS" date="1374725341"]check set_value() function
http://ellislab.com/codeigniter/user-guide/helpers/form_helper.html[/quote]
thx