I am trying to create an input text field which does not insert HTML formatting to whatever the viewer types in it. For example, if the viewer puts the text "hello" into the text box, the value of the box should not be
I have unchecked that "allow html formatting" button on the properties bar
but it still inserts those tags. What am I doing wrong?
in the attached example, you should see the problem demonstrated - if you click on the button, it traces the value of the input text box. I would like that to be simply "hello" without all the html tags.
OK - cool thanks that works. But why does this only happen sometimes? For example, the attached example does not have the same problem even though I am not using the instance name?
Is it possible to set the html property as true without using actionscript? (that is, by selecting something on the Properties bar etc) Because there is no script setting it as true. And I did not select that "allow html formatting" button.
Hi funkage - and thanks for your answer. But if your read my posts you will find that I have unchecked that button, because I do not want html formatting. The button is unchecked, but it still inserts html formatting. That is why I posted on this forum, so I'm hoping someone can come up with another answer for me?
In addition to the above, I would like to understand why the example attached in my first post inserts html formatting, while the example I attached in my second post does not. I cannot see any difference between them. I have looked at the documentation and cannot find any help there. Anyone able to shed light on this?
I was having the same problems described here, flash was adding html formatting automatically into input text boxes I was attempting to use for inputs for calculations. After screaming at my computer for a few minutes (that always helps, right?), i noticed another check box in the properties that was checked for no reason: "Auto kern". Unchecked it, and problem solved.
turns out, if you create a static text box first (which DOES have auto kern turned on), then convert it to input text: even though the marker indicated otherwise, auto kern is still turned on.....at least for when it is outputting the vars
so what you have to do (i did) is to turn the box back to static then turn auto kern off then back go input