Question

  Asked: Dec 17 2007   4:58 AM GMT
  Asked by: Sailusha


how to do multiple lookups using AJAX.


Ajax, Web development, Formula Language

Hi,
I am new to ajax and in one of my web applicaion I need to use ajax insted of ordionary lookup of formula language to avoid refreshing the form.
The problem is i have four fields each have to be lookup based upon the value choosen in the previous field. Any help is appreciable.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Ajax
Im not sure if this is what u r looking 4 - if not sorry.

1. Load your first combo box A normally with @dbcolumn.
2. Then onChange() of A write the ajax script and populate combo B.
3. Then onChange() of B write the ajax script and populate combo C.
4. Then onChange() of C write the ajax script and populate combo D.

5. When not a new doc and in edit mode you need to make sure to write up a script onLoad() of the form to again get the values for B, C, D and repopulate them and also make sure to select the value previously selected.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development and Lotus Domino.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Sailusha  |   Dec 18 2007  4:32AM GMT

thanks for the help, I have used the code given a searchdomino.com bu the problem isthe code works
fine for the first field i.e I am able to get the dbcolumn and lookup for the first two fields but the when I go for the third field i am not able to get the output.Please can you send me some code so that I can use it for multiple lookups. Any help is appreciable.