CodeIgniter Forums
pass form data in to a controller - 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: pass form data in to a controller (/showthread.php?tid=24942)



pass form data in to a controller - El Forum - 11-25-2009

[eluser]max123[/eluser]
How ca I pass form data in to a controller using a text link (eg: update link). Submit button works. But I want to know how to send form data using a text link


pass form data in to a controller - El Forum - 11-25-2009

[eluser]rogierb[/eluser]
I suggest you read the user guide, especially the section about Passing URI Segments to your Functions on the Controllers page

The wonderfull User Guide has your answer.


pass form data in to a controller - El Forum - 11-26-2009

[eluser]Aken[/eluser]
So you just want to use normal text to submit a form instead of a button? If so, you can use Javascript to achieve that effect. Google around for something like "submit form with text link", you'll find something.