Sunday, January 31, 2010

Forms - Selecting foreign keys from large number of options

Is there any 'best practice' or established patterns for dealing with
forms that capture foreign keys from a very large set of options?

-------------

I am building a web app that allows our field staff to create
appointments. This involves creating a record that contains many
foreign keys, of which some come from very large tables. For example,
selecting one of potentially thousands of customers.

This will mean having a form that breaks out from the main appointment
form and has a search form to find the customer, that the user then
selects.

What's the best way of doing this in Django?

- A pop-up box that then fills out the main appointment form and then
disappears?
- Changing the appointments form to a customer selection page that
then reloads the appointments page with the data in a hidden form? Or
holding the data in some session variables?
- Some whizz bang Ajax solution?

(I'd like to keep it as simple as possible. This is my first Django
project and my first web project for more years than I care to
remember)

Cheers

ALJ

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate