Hi Carl

I have a Repeatable Block on my "Update Form" which will display all urls associate with the item I choose, so far it only fills other fields not repeatable part.

   here is my yml config file:

auto_fieldset: 1

elements:
 - type: Hidden
   name: id

 - type: Text
   name: name

 - type: Repeatable
   nested_name: urls
   increment_field_names: 1
   counter_name: count
   db:
     new_empty_row: url
elements:
     - type: Hidden
       name: id
- type: Text
       name: url

 - type: Hidden
   name: count

here is the code in my controller part:

 $form->defaults_from_model( $issue );

* urls is the relationship name. *

Please advise

Ke Wei

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to