[fw-general] Zend Forms - Dynamic Content

2008-09-19 Thread Jamie Royer
I figured out how to dynamically add sub-forms to a form using Ajax and Zend Framework. I want to share what I've done as well as seek feedback on how I could implement it better. I've setup Drupal on my home computer to host the article and comments. I've also set up a link to demonstrate

[fw-general] Zend_Form and JS: How to find fields?

2008-06-09 Thread Jamie Royer
Hi Everyone, I'm trying to figure out how to get a field's id using javascript and assigning the id to a variable from within ZF. I have form A that adds sub-form B that adds field F. When the form is rendered field F is named "a[b][f]" with an id of "a-b-f". I'd like to not hard-code the field

[fw-general] Is this possible: Zend_SubForm with user added records?

2008-05-29 Thread Jamie Royer
te()" to pre-fill the sub-form. Am I approaching this the wrong way? I like the idea of using Zend_Form but is there a better way? Thanks, Jamie Royer