I have form:
$this->setWidgets(array(
      'description'  => new sfWidgetFormInput(),
      'test' => new sfWidgetFormJQueryDate(array('format' => '%day%/
%month%/%year%', 'culture' => 'pl')),
 ));
$this->widgetSchema->setNameFormat('data[%s]');

-------------------------------------------------------------

Function sfWidgetFormJQueryDate() generates for me code:
<select id="data_test_day" name="data[test][day]"> .....
/
<select id="data_test_month" name="data[test][month]"> ......
/
<select id="data_test_year" name="data[test][year]"> ......

--------------------------------------------------------------

In action I can get value of field 'description' using:
$this->form->getValue('description')

But how can i get DAY of field 'test' ?? I havie tried:
$this->form->getValue('test_day')
and
$this->form->getValue('data_test_day')
but it doesn't work.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to