We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    Can constraints be set based on the value of a TV?

    Is it likely that tab rank will be settable on the tab tab in addition to (or instead of) the TV tab?

    Is it likely that it will be possible to move fields to other tabs in addition to TVs?
      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 28215
      • 4,149 Posts
      Quote from: BobRay at Mar 04, 2011, 10:10 PM

      Can constraints be set based on the value of a TV?
      Not at this time.

      Is it likely that tab rank will be settable on the tab tab in addition to (or instead of) the TV tab?
      Not at this time, but hopefully by 2.2.

      Is it likely that it will be possible to move fields to other tabs in addition to TVs?
      Not at this time, but hopefully by 2.2.

      Most FC requests require major rewrites to how FC is done; TBH, the fields need to be generated by PHP - not by JS hacks, as is done now.

      I’ve been planning some ideas of how to do that (mainly through what i’m calling "schemes", which are basically snapshots of what the user wants a Resource Edit page to look like), but it wont be developed in time for 2.1. I’m shooting for 2.2, but there’s a lot on my plate, so to speak.

      If you’d like to follow along with my thoughts, there’s a ticket here for it: http://bugs.modx.com/issues/3113
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Thanks. Don’t hurry on my account. I’ve done enough rewriting as it is. tongue I just rewrote the entire Form Customization section of the book from scratch. Now for the FormIt section. sad

        I notice that I don’t seem to have any control over the Tab Rank. If it’s 0, my changes don’t stick and for a tab I created myself, it’s set to 10. If I change it to 6, it gets saved as 16. I assumed that it would set the order of the tabs. Am I misunderstanding what this does?
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 34459
          • 134 Posts
          I think that the ability to assign certain tv's to resources with form customization would be an immense help…in 2.2.2 still not working:/
            Check out blackflow.pl
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Well, it still doesn't work as expected on 2.2.4.

            I created a rule based on "id" to only show the TVs I wanted on the resource with that ID. It does in fact hide the unwanted TVs - on all resources! Adding another rule to hide unwanted TVs and show wanted ones on a resource with a different ID just ends up hiding all of the TVs on all resources, sort of a cumulative effect.

            Showing/hiding regular resource fields such as "longtitle" does work as expected. [ed. note: sottwell last edited this post 14 years, 3 months ago.]
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org