Hi all,

I have a table with 5 fields in it and I want to create a form that
will allow data to be added to the table

I know this part is easy enough, but my question is this...

I get 3 of the 5 fields values via a URL for example ( mypage/2006/10/7
) or ( mypage?year=2006&month=10&day=5)

I want to pass these arguments via a hidden form field in a kid
template or a widget ( I am guessing ) while adding the other 2 fields
via the form interface.

I have a function that already pulls data from the database simalar to
SELECT * FROM table WHERE year=year, month=month, day=day.

I am wondering How I would do that via a widget. I have been reading up
on example of forms with TG and all of them have a different approach
and now I am confused what would be the easiest and how it works.

Does this make sense?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to