Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Question about InputField

  • To: mathgroup at
  • Subject: [mg81525] Question about InputField
  • From: Cca <cca at>
  • Date: Wed, 26 Sep 2007 06:50:14 -0400 (EDT)
  • Reply-to: Cca <cca at>

The problem is as follows. Start with

DynamicModule[{v = Null}, {InputField[Dynamic[v]], Dynamic[v]}]

Now, enter a disjunction "pvq" by typing p+Esc||Esc+q in the returned InputField. When you click outside, the expression pvq is reformatted to p||q -- while I want to see pvq.

One solution that I found is to use

DynamicModule[{v = Null}, {InputField[Dynamic[v], Boxes], 

But I´m not satisfied with it. What if I just want to put expressions in an InputField for which there is no rules for ToExpression? (Just presentation, not content.) Any ideas? 

Carlos César de Araújo
Gregos & Troianos Educacional
MSN: cca_gregosetroianos at
Belo Horizonte, MG, Brasil
(31) 3283-1122

  • Prev by Date: Re: making a list using table but with different increment after
  • Next by Date: Re: Nullcline and getting "2" values for y
  • Previous by thread: Re: Getting pixel values from individual frames in an animated gif?
  • Next by thread: Wanted: Demonstrations Authors and Editors