How to say who told you to do that? in German

1)wer hieß dich, das zu tun?    
0
Translation by pfirsichbaeumchenConnect Error: Too many connections