I have an app that on one page I have a set of fields (first 20 fields
of say 50) I have manually placed.  All saves well and when I go to
another page and come back all is well.

On a separate page, I edit the rest of these fields.  Part of these
are check box fields and some others including textarea fields.

When I save the data on this page - all is well.

I then go back to the first page and make a change and save the data -
fine, but if I go back to the page with the check boxes, they are all
cleared out - I look in the DB in admin area and yes, they are all set
to False.  But the textarea fields do not do this on this page - they
keep their data just fine.

So I created a test page and made a controller like I already have:

form=t2.create(db.student)
return dict(form=form)

and then in a test.html do {{=form}

I then save the page with a check box selected - fine - that works.

I then go back to my first page and make a change and save.  Go back
to the test page and the check box is cleared.

Why is it doing this?

thx,

-wj

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

Reply via email to