repopulating a textarea |
[eluser]danmontgomery[/eluser]
[quote author="elaniobro" date="1268782825"]How would you post the textarea of your form back to the controller?[/quote] Textarea behaves exactly the same as any form field, except that the data isn't in a value attribute, but between the opening and closing tags. Code: <textarea name="my_field">This is some data</textarea> Code: <?php echo $this->input->post('my_field'); // This is some data
[eluser]elaniobro[/eluser]
I tried that. I have another thread I started: http://ellislab.com/forums/viewthread/149567/ But doing what you said is throwing me an error.
|
Welcome Guest, Not a member yet? Register Sign In |