Brindle 1 Posted February 2, 2011 Report Share Posted February 2, 2011 Let's start by saying I'm no programmer, so please excuse me if I'm using the wrong terminology, as I really don't know how to explain what I want to do. There is form that I want to automate. It uses a lot of javascript dropdowns fields, so that selecting an option in the first dropdown, causes the next dropdown to repopulate. This makes the bot very slow, as I've had to add a lot of delays, so that the next dropdown has time to fetch the new values. I've scraped values of the dropdown options, and their hierarchy of relationships, with results like:<option value="1052">Carlow</option> Here is one of the form's simple dropdown fields code:<select id="id_font" name="font"> <option selected="selected" value="Arial, Helvetica, sans-serif">Arial</option> <option value="Times New Roman, serif">Times New Roman</option> </select> And here is the button:<button type="submit" id="save"> <img alt="Save changes" src="/media/img/btn-save.png"> </button> Is there a way to set the value for each field and submit the form, something like:<select name="font" value="Times New Roman, serif"> Thanks Quote Link to post Share on other sites
UBotBuddy 331 Posted February 2, 2011 Report Share Posted February 2, 2011 This is good information but it would be more helpful to see what site you are trying to work with. Quote Link to post Share on other sites
Brindle 1 Posted February 2, 2011 Author Report Share Posted February 2, 2011 The form can be found on leadsjet.com (affilate link below). Sign Up as a Publisher and 'Add New Widget' It's the Regions that causes me the most heart-ache. Creating 2500+ widgets a time is currently taking me over 27 hours, because of the delays, with about 5 % failure rate. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.