We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    Hey, I am using FDM to pass the changes to the backend. I need to use an extra tv on the name if I already have the TV starting with tv. All my other fields have followed the exact same setup as this particular field and it’s not working. I create new ones, it’s not working. It’s only working for the ones I already made, how is that possible?
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 8109
      • 128 Posts
      I have found that phx cannot see template variables unless they are used somewhere else outside of the phx logic (yikes!). I have gotten around this by including the template variable in a div class:

      <div class="myDic [*myTV1*] [*myTV2*]>...</div>

      You could also use a hidden input with a vlue of your TV:
      <input type="hidden" value="[*yourTV*]"></input>

      Then phx logic involving your TV will work.

        Revo 2.0.8-pl