Pages

Tuesday, September 11, 2007

Custom Extraction Rules - Extract Drop Down List Form Field

I used the Josh Christie's sample code to make a Custom Extraction Rule to check if a drop down list exists based on its name.

I hope it's correct; I removed the references to index and changed
e.Response.HtmlDocument.GetFilteredHtmlTags("input") to
e.Response.HtmlDocument.GetFilteredHtmlTags("select")

modified sample code:

No comments: