<![CDATA[ A TV used multiple times inside a page - My Forums]]> https://forums.modx.com/thread/?thread=103557 <![CDATA[A TV used multiple times inside a page]]> https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557107
I'm newbie in modx.

I made a TV called 'titleField' and i want to use it for 3 similar fields in my page, is it possible to use a TV twice or more in a page..?

I've tried but not working, the output in Document Edit page - 'Template Variables' Tab only shows one entry field for TV 'titleField'.

Thanks & Best Regards,


]]>
kozhie Mar 01, 2018, 01:07 PM https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557107
<![CDATA[Re: A TV used multiple times inside a page]]> https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557265 kozhie Mar 08, 2018, 11:04 AM https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557265 <![CDATA[Re: A TV used multiple times inside a page (Best Answer)]]> https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557109
<h1>[[*titleField]]</h1>


<p>Some text with the tv contained in it: [[*titleField]].</p>


But is you want to display different values on the same page then you would either need a different TV, or as LK suggests, use the excellent MIGX.

https://docs.modx.com/revolution/2.x/making-sites-with-modx/customizing-content/template-variables/template-variable-input-types
]]>
andytough Mar 01, 2018, 02:11 PM https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557109
<![CDATA[Re: A TV used multiple times inside a page (Best Answer)]]> https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557108
Welcome to the MODX forums. A TV really holds a single value but there are different TV types you could use to accomplish what you want. For example a MIGX TV would let you setup multiple fields under a single TV which is then stored in JSON and retrieved and decoded on the page using a tpl.

https://docs.modx.com/extras/revo/migx
]]>
lkfranklin Mar 01, 2018, 01:17 PM https://forums.modx.com/thread/103557/a-tv-used-multiple-times-inside-a-page#dis-post-557108