Comboboxes -autosubmit issues


B

Ben

Hi - I wonder if anyone can help. I have a php page with 2 comboboxes
on. I want these boxes to auto-select depending on what has been
selected in the other. So if, in either box, I select an option, the
corresponding option will be pre-selected in the other box.

I have used onChange='change.submit(); to get the combo boxes to
submit when changed. However, I have no way of identifying which combo
was changed, and so which combo should be synchronised with which.

Does this make any sense? Any suggestions?

Cheers,

Ben
 
Ad

Advertisements

L

Lee

Ben said:
Hi - I wonder if anyone can help. I have a php page with 2 comboboxes
on. I want these boxes to auto-select depending on what has been
selected in the other. So if, in either box, I select an option, the
corresponding option will be pre-selected in the other box.

I have used onChange='change.submit(); to get the combo boxes to
submit when changed. However, I have no way of identifying which combo
was changed, and so which combo should be synchronised with which.

Does this make any sense? Any suggestions?

It doesn't seem to make sense that you have two separate Selection
boxes if the choice made in either determines the choice in the
other, particularly if you submit the form as soon as any choice
is made. Whichever selection is not in the default state is the
one that was changed by the user.


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top