I have 2 SharePoint tasklists named Projects and Projecttasks. In Projecttasks i've created a Lookupfield which looks for the Title in Projects. Then, i created a new DispForm for Projects with an DVWP-Webpart, added a XSLTListViewer for Projecttasks and filtered the items with the lookup field. For now it works and if i open a Project-Listitem, i am able to see all tasks open for the project at the bottom of the Form.
What i want is to add an button or link in the DispForm of the Project-list, that opens a Projecttask-NewForm with the lookup-column "Project" autofilled from orginal Project-DispFrom where i clicked the "New Task" link or button.
I would prefer to get an solution in JavaScript, but ANY hint how i could fill the field or connect the forms be will be favored.
Thanks in advance! Mike