Changing the value of dropdown as per the file type

Hi All, I have created a page where there is a dropdown which has two fields which is basically name of two file type. Two fields for example: Product Info and Rate info. The next is a browse button to upload a file. Where I am browsing and uploading the csv files and then storing the content of the file in their respective database as the attributes of both Product info and Rate info is different. SO is it possible to select the dropdown of Product info only when product info.csv file is selected while browsing and Rate info in the dropdown is selected when the rate info.csv file is selected? Kindly help me out with this. Thanks!
1 answers


Will give suggestion like, you can constrain the data by using xpath in that page. It will show particular product info, rate info details in that drop down.