I am using Symfony 1.3.2 on Ubuntu 9.10
I want to set the default value of a textarea widget, with data read froma adb.
My code snippet in the template looks likes this:
<?php $form['notes']->render(); ?>
The API docs dont show how to do this – does anyone know how to do this?
You can use this in your action or the form class:
… or if you’ve got multiple fields:
Or if you prefer declaring it just once with the widget in your form class configuration (I think this is right):