dropdown filled automatically using script code

Hello, I would like to have a dropdown filled automatically using script code. The labels are taken from a text file. Is this feasible? Where do I have to integrate my code? Thanks

Replies are visible only to logged in members with an active subscription.