:) .. that sounds right.. i guess i can just add some jquery in the view
with a condition to check if the view is for edit or create form. The
jquery could just insert the checkbox (if married etc.).. if checked i
could use jquery to un-hide the spouse name field row.
I will also try out the custom.widget method, but this sounds a little too
laborious :D (i dont want to re-build the whole form).. is there a simpler
way to just insert some extra elements like
http://web2py.com/book/default/chapter/07#Adding-extra-form-elements-to-SQLFORM
.
I tried this, but this throws up an error (I will check and get back)
Thanks a lot Anthony and Cliff .. :D .. any other tips ;) ?