# CueText Bug

**URL:** <https://forum.xojo.com/t/cuetext-bug/14961>\
**Category:** Web\
**Created:** [March 13, 2014, 7:13pm UTC](https://forum.xojo.com/t/cuetext-bug/14961 "2014-03-13T19:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brock\_Nash](https://forum.xojo.com/user_avatar/forum.xojo.com/brock_nash/32/1126_2.png) [@Brock\_Nash](https://forum.xojo.com/u/Brock_Nash)\
**Post date:** [March 13, 2014, 7:13pm UTC](https://forum.xojo.com/t/cuetext-bug/14961/1 "2014-03-13T19:13:17Z")

</div>

# Feedback is down for me, so I’m posting this here (then again the forum usually goes down for me half the time too so hopefully this goes through.)

When you set the Cue Text of a text field to something with an apostrophe it is not being properly escaped like it does when I set its value. This throws a javascript exception.

```auto
Xojo.controls['KIGfZrgM'].setValue("Adam\\'s Choice");
Xojo.controls['KIGfZrgM'].field().setAttribute('placeholder','Adam's Choice');
```

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [March 13, 2014, 10:05pm UTC](https://forum.xojo.com/t/cuetext-bug/14961/2 "2014-03-13T22:05:02Z")

</div>

I made case 32712.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:07pm UTC](https://forum.xojo.com/t/cuetext-bug/14961/3 "2020-10-29T17:07:20Z")

</div>


