Hi,
I want to create a tickbox list with values listing assets from a specific node.
Is this possible?
What I want to achevie is that when a visitor visit a page (course description) and want to sign up to that course he/she should click a "sign up" link and be directed to a form which should include
the course name.
Any ideas?
/Daniel
We've done this before, but it's a bit tricky.
You have two asset listing on the page. The top one creates a checkbox list of some folders (or other locations) that you want people to be able to list content from. You can also hard-code a form in here, or I guess you could use a custom form. The key is being able to submit the page back to itself with a list of asset IDs in the query string. These need to be comma separated (eg. sections=1234,1245,12). You may need to use JS to place the asset IDs in the right format into a hidden field. Depends how it is done I guess.
The bottom asset listing is the main listing. You configure this to use dynamic root nodes, supplied of a query string variable called "sections" (in the example above). The asset listing will then use this list of asset IDs are its root nodes and list assets under it. It is important that the real root node of the asset listing points to a place in the tree under which all these dynamic root nodes will exist. The asset listing wont let a dynamic root node be used if it is outside of its part of the tree.
Hope that helps a bit.
Hi,
if I only would like to forward some data from a webpage into the form then?
For example I make a link from a webpage to the form with a URL suffix and the form picks it up and inserts it into a field.
Is this possible?
Not without using JavaScript to do it. The custom form wont look at data from the query string to auto-fill fields.