how to do multiple lookups using AJAX.

15 pts.
Tags:
Ajax
Formula Language
Web development
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Sailusha
    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.
    15 pointsBadges:
    report
  • Ajaxraju
    hi i need same code can u help me pls.send me klnr1995@gmail.com
    50 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following