I need to have a popup window on my task form to allow users to see the list of documents belonging to them. I have tested the following link on a web part page and pasted it into the description section of the To-Do task:
<a onclick="return openDialog('{Common:WebURL}/Pages/Documents.aspx?rid={ItemProperty:ID}',1000,800)" href="javascript:void(0);" target="_blank"><font face="arial" size="2">View Documents </font></a></b>
However once the task form is created clicking the link does nothing. Upon inspection of the element I see that the link has rendered like this:
<a target="_blank"><font face="arial" size="2">View Documents </font></a>
So what am I doing wrong? Is there another way to accomplish what I need (open an existing page in a pop-up window? Or is this just not possible from the task form?