# Javascript Apostrophe

**URL:** https://community.feathery.io/t/javascript-apostrophe/566
**Category:** Support
**Created:** [March 22, 2024, 3:10pm UTC](https://community.feathery.io/t/javascript-apostrophe/566 "2024-03-22T15:10:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Beplace](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@Beplace](https://community.feathery.io/u/Beplace)
#### Post date: [March 22, 2024, 3:10pm UTC](https://community.feathery.io/t/javascript-apostrophe/566/1 "2024-03-22T15:10:27Z")

</div>

How do you account for an apostrophe in Logic? See the apostrophe in the “Investor’s Agent” selection below, which is not working correctly:

if (feathery.fields[‘type-field’].equals(‘Investor’s Agent’))

---

<div class="post-metadata">

### Author: ![summep](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@summep](https://community.feathery.io/u/summep)
#### Post date: [March 22, 2024, 3:50pm UTC](https://community.feathery.io/t/javascript-apostrophe/566/2 "2024-03-22T15:50:14Z")

</div>

You can just change to double quotes in Javascript:  
if (feathery.fields[‘type-field’].equals(“Investor’s Agent”))
