Formulator question
I'm using the "automatic rendering" method described in the HOWTO, so I have a method called "render_form". Is it possible to populate a formulator with values when rendering? such as from a ZSQL method? for example: <dtml-in "zsql_method(key='xyz')"> <dtml-var render_form> </dtml-in> And then the form values would be populated from the sql output. Is that possible? thanks a lot -Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
I'm using the "automatic rendering" method described in the HOWTO, so I have a method called "render_form".
Is it possible to populate a formulator with values when rendering? such as from a ZSQL method?
Formulator does allow for external lists, from db's and such, though I have not done it. It was designed with this in mind. Check out the Override tab in your form field set-up, and then "items". Dont forget your "external validator", too. Martijn has some good documentation in the help files of the install that could help with this. -Trevor
Thanks! I've also just discovered the Formulator mailing list archive which has several messages covering this topic. --- Trevor Toenjes <zope@toenjes.com> wrote:
I'm using the "automatic rendering" method described in the HOWTO, so I have a method called "render_form".
Is it possible to populate a formulator with values when rendering? such as from a ZSQL method?
Formulator does allow for external lists, from db's and such, though I have not done it. It was designed with this in mind. Check out the Override tab in your form field set-up, and then "items". Dont forget your "external validator", too. Martijn has some good documentation in the help files of the install that could help with this. -Trevor
__________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
participants (2)
-
Kevin Lewandowski -
Trevor Toenjes