Re: [web2py] 3 forms in 1

2013-06-18 Thread Tom Russell
Yes I was just reading and understood that the reason for my fields not showing up was because the fields in many of the tables have the same names. Changing that resolved that issue. It's actually a great book too, just wished I could read faster. Thanks. On Tue, Jun 18, 2013 at 1:04 PM, Richa

Re: [web2py] 3 forms in 1

2013-06-18 Thread Richard Vézina
I think you have 1 form for 3 tables... You should package a dummy app with the code above to help us helping you... As far as I understand you got the id only because you didn't set requires in your model. Read the book about validators and search for "requires" in the book. Richard On Tue, J

[web2py] 3 forms in 1

2013-06-18 Thread tom
I have one page where I want to show 3 forms. I have a main table with 2 tables that are related to it. So in my models file I have: db.define_table( 'dependents', Field('dep_id',db.patient), Field('first_name'), Field('middle_name'), Field('last_name'), Field('relations