Re: automatically fill in some fields of a form, storing authenticated user

2006-09-26 Thread Benedict Verheyen
Thanks Andres, quite interesting. The way i solved it was based on parts of the wiki and loads of trial and error. I made a class that simplifies using custom Manipulators and then derived a specific class for adding a Patient (model i'm using) where i initialise the derived class by calling th

Re: automatically fill in some fields of a form, storing authenticated user

2006-09-25 Thread Holger Schurig
> I think ajax tech will very suit for these things. Because you Recently there where browser exploits that utilized JavaScript. So it *CAN* happen that some people will turn JavaScript off. In this case your Ajax method doesn't work anymore. --~--~-~--~~~---~--~---

Re: automatically fill in some fields of a form, storing authenticated user

2006-09-25 Thread Andres Luga
Hi, the following are the suggestions of a Python and Django newbie, so take with a load of salt. Also the examples are not direct copy-paste and therefore might not work directly. On 9/22/06, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > then data is looked up in another database and some of th

Re: automatically fill in some fields of a form, storing authenticated user

2006-09-22 Thread limodou
On 9/22/06, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > I'm not sure how to do those tasks: > > 1. For a model, i want to allow the user to import settings from another > database. For instance, they fill in a number and hit a link or button, > then data is looked up in another database and som

automatically fill in some fields of a form, storing authenticated user

2006-09-22 Thread Benedict Verheyen
I'm not sure how to do those tasks:1. For a model, i want to allow the user to import settings from anotherdatabase. For instance, they fill in a number and hit a link or button,then data is looked up in another database and some of these values are then filled in the form so that when the user cre