I'm making a main console where a user can perform all functions from one page using iframes. When a user does a modify search, if there are multiple listings of the same name you get a list in iframe A. I've set up the list to display the info in a table rows. Perfect so far. Then, they click on the radio button and click on Modify Record and the form fields to modify appear in iframe B. The user makes the modifications in in iframe B, and on the completion the end results get sent back to iframe A.
All is working fine. The reason I'm doing this is to have one iframe to do the work in, and one to display results.
The problem lies in if there is only one listing. The actual modify form appears in iframe A instead of B. There are two options that I can think of but don't know how to implement:
- Have modify search results always appear as a list, even if there's only one
- If there is only one, have the modify form appear in iframe B
I've attached a screen shot of the console.
All is working fine. The reason I'm doing this is to have one iframe to do the work in, and one to display results.
The problem lies in if there is only one listing. The actual modify form appears in iframe A instead of B. There are two options that I can think of but don't know how to implement:
- Have modify search results always appear as a list, even if there's only one
- If there is only one, have the modify form appear in iframe B
I've attached a screen shot of the console.