I need to use an InputField with a generic dynamic variable (not restricted to be Number or String or whatsever) and I don't want to see the quotation marks in the case the input is a string. Here is an example
z="";
InputField[Dynamic[z]]
I know the Cell's option ShowStringCharacter but here doesn't work, for instance see
z = "";
Panel[Column[{Style[InputField[Dynamic[z]],
ShowStringCharacters -> False], Spacer[5],
Row[{"This is the value of variable z", Spacer[5], Dynamic[z]}]}]]
and this one
z = "";
ExpressionCell[
Panel[Column[{Style[InputField[Dynamic[z]],
ShowStringCharacters -> False], Spacer[5],
Row[{"This is the value of variable z", Spacer[5],
Dynamic[z]}]}]], ShowStringCharacters -> False]
Any suggestion? Thanks in advace, Roberto

InputFielddistinguish what head has the input e.g.123 a, should it be"123 a"or123 a? – Kuba Nov 16 '13 at 15:14InputtypeCell, try to edit it. – Kuba Nov 16 '13 at 15:24Dynamic, cell types or a possbilities of MMA. The problem is that the behaviour you need is, as I showed earlier, ambigious. Clarify how Mathematica has to know when you enter a string or not and we can work on this. – Kuba Nov 16 '13 at 16:14