[html-formfu] Subforms show up as text fields

Ascii King tech at swattermatter.com
Thu Mar 5 15:15:03 GMT 2009


My forms config file has gotten so large and unwieldy that I need to 
break it up into subforms. However, whenever I call a subform, the 
elements return as text elements and only the last element called shows up.

For example, this config file:

---
indicator: submitted

elements:
  load_config_file:
    - prior/submit_data.yml


calls this config file:


# SUBMIT --
  - type: Submit
    name: submitted
    value: Submit

but instead of getting a submit button I get a text field with the value 
'Submit':

<div class="submit">
<input name="submitted" type="text" value="Submit" />
</div>


What am I doing wrong?



More information about the HTML-FormFu mailing list