Jump to:

23550 Posts in 19336 Topics by 2890 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: 435 Views
  • DanStephenson
    Community Member
    115 Posts

    Passing SiteTree to ASM Select Field Link to this post


    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.

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.