[html-formfu] Subforms show up as text fields

Ascii King tech at swattermatter.com
Thu Mar 5 19:37:46 GMT 2009


I solved it, if anyone needs to know. I checked out the tests and found 
the test for the load_config_file.  I needed to add something that 
accepted an elements list, like a Block or else it misunderstood 
whatever config file I called.

#main.yml
---
elements:

  - type: Block
    load_config_file: prior/test_sub_appointment.yml



#test_sub_appointment.yml
---
elements:

  - type: Fieldset
    legend: Appointments
    element:

    - type: Hidden
      name: appointment_count
      # etc, etc

Thanks for all of your help and the suggestion to check the tests. I'll 
be sure to check the tests first from now on.



More information about the HTML-FormFu mailing list