How to put an equation into an input prompt


I would like to know how I could put an equation into an input prompt displaying this equation in traditional form. Better an example:
I can't display an equation into a box message

My objective is that the input box displays the equation instead of the code.

Thanks in advance.