We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28508
    • 73 Posts
    Hello,

    is it possible to use a resource group as a constraint in form costumization?
    And if yes, what would I have to type in "Constraint Field" and "Constraint"?

    I read the rtfm, but unfortunately it didn’t help me:
    A Constraint can be set on the Set to restrict to a certain value. For example, setting a Constraint to a field of ’parent’ and value of ’123’ will apply this Set to all direct children of parent 123. A Constraint for field ’class_key’ and value ’modWebLink’ will apply this Set to all WebLinks for the Set’s page.

    Thank you!
      • 28508
      • 73 Posts
      Nobody?
        • 3749
        • 24,544 Posts
        Constraints only apply to resource content fields and, unfortunately, resource groups aren’t included.

        What, exactly, are you trying to do?

          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
          • 28508
          • 73 Posts
          Thank you Bob (again),

          I just wondered if that would be possible, I know got it working by assigning the TVs to a new template.
          Thank you!