Hi,

I'm very new with pylons and I like it very much (coming from
grails).  But I was wondering what would be the best way to deal with
this situation :
I have a form with a date field and a button which creates additional
date fields using javascript.  I also have a select box which gets
filled using an ajax call.  Upon submission, the form fields get
validated and I'm using htmlfill to render the same page showing the
errors.  Of course, since some of the fields are not in the static
html template, these are not shown.
What I do now is add some code to the template which checks for fields
in c.form_result and creates for every date field the right <input>
tag.
Is this the way you guys are solving this too?

tnx!

Henk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to