We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7557
    • 61 Posts
    Hi!
    Is it possible to write bindings to TV input field when editing pages.
    According to instructions from the wiki as possible:

    On a page (edit the page in the manager). The page where you want to put this binding must be using a valid template, and that template must have the correct template variable(s) associated with it. If you’ve created the Template Variable and associated it with a Template, and the page you’re working on is using that Template, then you’ll have a place to enter in some text for that variable when you edit the page. Paste the "@SELECT ..." stuff in there. It sounds more complicated than it is, but this section is written verbosely for the sake of clear documentation.

    In my case no matter what type of TV that I chose, in writing or @SELECT or @EVAL and save page, the value of that field disappear. I use the latest version of Modx revolution.
    I do not know whether I was wrong somewhere, or is a bug, or is impossible to write bindings in this way.
    thanks
      • 7557
      • 61 Posts
      Hello again
      I have tested the following expression in both versions, (Evo & Revo)
      @SELECT 2+2
      After saving page
      Evo:value remained the same (@SELECT 2+2).
      Revo:value is 4