SOLUTION IN NEXT REPLY
I know I can use ditto to populate a form
is it also posible to use ditto to populate the report?
or atleast gt the names from the form placed in the report?
this is my idea:
I want to make an ordering form for products, the form (products in the fom) are seperate pages that can be made and changed by the webmaster
dito template would be somthing like this:
[+longtitle+]<input type="text" name="[+description+]"><br />
as you can see I can not ceate a report chunk because I do not know the names of the field beforehand.
but if I could run ditto in the report with this tpl:
[+longtitle+] = [+[+description+]+]<br />
that this could work maybe (maybe the double [+ is a problem)
but I can not run ditto in report for its not parsed in modx as a document would be.
please let me know if anyone know a good way.
Ok I managed to get the above working exept the [+longtitle+] = [+[+description+]+]
part
I think ditto strips the outer [++]
so the report ditto is also working but no value’s
I am so close
Dimmy