custom fields code sample dropdown fixed