I have a form that captures basic information for a business. Name, address, banking information, etc. I also allow the user to enter up to 5 trade references for the business. These references are sometimes shared by many companies. So rather than have the user type it in each time I have a reference They do that by entering in a reference phone # which uses ajax to lookup the reference in another table and if it finds it I populate the related fields on the form. This all works perfectly.
What I need to know how to do is popup a modal ‘trade reference maintenance’ form when the phone # search doesn’t return a hit. I need the user to have the ability to add a new record to the reference table or search different ways and then let them select the record and return it to the form they were already working on. I have the modal form working, except for the select and return piece.
So my question is I guess, is it possible to search and edit a table in a modal window while not interfering with the edit that’s in progress on the calling form and if so, how do I do this.
I’m pretty sure this is possible because of the ajax examples I’ve seen using select fields. But this is not a select field and that’s what’s throwing me off a bit.
Thanks in advance for any suggestions!
Ted