Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fill combobox from dropdown option box on webpage

Status
Not open for further replies.

chris86t

Technical User
Jun 13, 2008
41
US
I have made an app that auto fills out a web form. There is one option I want to let the user choose before the app continues automatically

Would you just parse through the code from the site to fill in the combo box, or is there another way to get this info into the combo box?

Another option would be for a msgbox to popup with instructions for the user to directly interact with the site and then continue when ok in the msgbox is clicked. I don't know how to implement this option.

here is a sample of the webpage code:

Code:
<INPUT TYPE=TEXT NAME="Name" VALUE=" " left:150; top:131; width:800; z-index:1<P><BR>
 
 
	<SELECT NAME="Template"  SIZE="1" style="left:150; top:300; width:200px;">
 
<OPTION VALUE=>Select Batch Template
 
		<OPTION VALUE=" AD_PEG "> Ad Peg Sign </option> 
 
		<OPTION VALUE=" AD_SHELF "> Ad Shelf Sign </option> 
 
		<OPTION VALUE=" BIN "> Bulk Bin Sign </option> 
 
		<OPTION VALUE=" BULKTES2 "> Test Bulk Stack Sign 2 </option> 
 
		<OPTION VALUE=" BULKTEST "> Test Bulk Stack Sign </option> 
 
		<OPTION VALUE=" BYOPCBIN "> BYOPC Bin Sign </option> 
 
		<OPTION VALUE=" CH_BULK "> Chicago Bulk Stack Sign </option> 
 
		<OPTION VALUE=" CH_SHELF "> Chicago Shelf Sign </option> 
 
		<OPTION VALUE=" DISPLAY "> Display Sign </option> 
 
		<OPTION VALUE=" ENDCAP "> Endcap Sign </option> 
 
		<OPTION VALUE=" FAD_PEG "> Future Ad Peg Sign </option> 
 
		<OPTION VALUE=" FAD_SHLF "> Future Ad Shelf Sign </option> 
 
		<OPTION VALUE=" L_PROD "> Letter Product Sign </option> 
 
		<OPTION VALUE=" MONTHLY "> Monthly Template </option> 
 
		<OPTION VALUE=" PEG_NOPR "> No Price Peg Sign </option> 
 
		<OPTION VALUE=" PEG_SIGN "> Peg Hook Sign </option> 
 
		<OPTION VALUE=" S_PROD "> Small Product Sign </option> 
 
		<OPTION VALUE=" SHELF "> Shelf Sign </option> 
 
</SELECT>
 

Instead of a message box, could you create a modal form with a combo box with all the required list items, have the user select from the combo, then continue with that info when the user clicks OK?


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Instead of a message box, could you create a modal form with a combo box with all the required list items, have the user select from the combo, then continue with that info when the user clicks OK?

I guess that's what I meant when I said

[quote}Would you just parse through the code from the site to fill in the combo box, or is there another way to get this info into the combo box?[/quote]

How would you get the info into the combo? The site may change occasionally and I'd like to pull the info from it's combo box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top