Hello,
I am Automatically filling in a WEB Page form and have completed most single line items and are working. They also have a section that has three dropdown boxes and each dropdown box relies on the previous box selections.
(eg. Dropdown 1 has Regions, Dropdown 2 has Provinces and Dropdown 3 has Towns.) - Each are being validated.
[The way it works manually is you click on the dropdown 1 arrow, select your choice. At this time it then unlocks the dropdown 2. When you you click on the dropdown 2 arrow, select your choice. At this time it then unlocks the dropdown 3. etc etc]
I can fill in dropdown 1, it places the information in the dropdown 1 box, but it is not unlocking dropdown 2. (I am using the .focus, then .value= and then .click) but it does not select.
e.g.
1. Is there a command function line that I can use that once I am focused on dropdown 1, I then tell it to open the list and then I select my choice? This would then copy me manually doing it.
2. Is there a better way of doing this?
I am getting my confused.
I am Automatically filling in a WEB Page form and have completed most single line items and are working. They also have a section that has three dropdown boxes and each dropdown box relies on the previous box selections.
(eg. Dropdown 1 has Regions, Dropdown 2 has Provinces and Dropdown 3 has Towns.) - Each are being validated.
[The way it works manually is you click on the dropdown 1 arrow, select your choice. At this time it then unlocks the dropdown 2. When you you click on the dropdown 2 arrow, select your choice. At this time it then unlocks the dropdown 3. etc etc]
I can fill in dropdown 1, it places the information in the dropdown 1 box, but it is not unlocking dropdown 2. (I am using the .focus, then .value= and then .click) but it does not select.
e.g.
Code:
HTMLDoc.getElementById("BregionId").Focus
HTMLDoc.All.BregionId.Value = "11"
HTMLDoc.getElementById("BregionId").Click
2. Is there a better way of doing this?
I am getting my confused.