When creating a doclink field type and populating it with a list of documents you can select, the first document in the list is selected by default if the user saves the form. To avoid this, I wanted to use a placeholder, such as "Select a Document". I tried this by adding the first item in the list as: ["Select a document|"] (to separate the label from the value which is an empty string).
However, after doing this, when a user saves the form without selecting a document, it now saves the "Select a Document" text and turn it into the link text (the doclink field type acts on an empty reference) . When you go back in to that record and click on the link, it takes you to the home page..
Have used a work-around temporarily and added "" (an empty string) at the top of the list selection, but would ideally prefer to use the text "Select a Document" which doesn't currently work with the doclink field type.
Log in to post a comment.