implement the metadata field with dropdown in web page