Setting Link Name for URL
I would like to set the link name of an inputted url to be the inputted date of a document.
User inputs Date_of_Document
User inputs Link_to_Document
In workflow, on User Input and Update of Date_of_Document I have entered the following code:
- input.Link_to_Document = input.Link_to_Document + "/'>" + input.Date_of_Document + "</a>";
The Link Name stays blank when the Date of Document is entered, and upon submit it records the full URL link for the Link Name. I would like it to just display the Date of Document as the Link Name, with a hyperlink to the document upon clicking.
Any ideas on what is wrong with my code? Thanks.