Jump to:

23001 Posts in 11702 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Passing SiteTree to ASM Select Field

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 365 Views
  • DanStephenson
    Avatar
    Community Member
    115 Posts

    Passing SiteTree to ASM Select Field Link to this post

    Hello,

    I am working on a website where I will have several types of art projects (Paintings, Sculptures, etc), and a contact form I am building for each section that allows a user to inquire about 1 or more items in that category.

    I'm going to use an ASM Select Field to allow the user to select one or more items from each category. My question, however is how I can pass a subsection of the SiteTree (page names from the Paintings category for instance) to the ASM Select Field - so I can grab all the child pages from a section.

    Can anyone help with this?

    Eventually what I am going to be doing is emailing the artist and including a list of the pieces that the web visitor was interested in.

    365 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.