# ID Syntax Error in Template

**URL:** <https://forums.realmacsoftware.com/t/id-syntax-error-in-template/44415>\
**Category:** Elements API\
**Created:** [August 26, 2024, 9:31am UTC](https://forums.realmacsoftware.com/t/id-syntax-error-in-template/44415 "2024-08-26T09:31:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [August 26, 2024, 9:31am UTC](https://forums.realmacsoftware.com/t/id-syntax-error-in-template/44415/1 "2024-08-26T09:31:58Z")

</div>

It appears you can’t have an ID in a Custom Component that starts with the letters **preview** , i.e. **previewLoggedIn** as an ID fails with the message:

![CleanShot 2024-08-26 at 10.25.13](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/e/6/e6b322f8b6bf32efbf99f0e2d3ec8efcd9dc2b65.png)

I assume this is because **preview** is an Elements system ID and the parsing is stopping as soon as it finds a match on an Elements system ID?

Changing the ID to **pvLoggedIn** resolves the issue.

Not sure if this a bug or feature, but would prefer it to be a bug?

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [August 26, 2024, 10:36am UTC](https://forums.realmacsoftware.com/t/id-syntax-error-in-template/44415/2 "2024-08-26T10:36:42Z")

</div>

Oh good find! That is indeed a bug, I’ll add it to the list 👍

Cheers
