We have a classic Nintex form in SharePoint 2016 on-premises with a label control that contains some static hyperlinks to documents related to the form which users may need to reference when filling out a new item form. When creating a new form from the “+ new item” link at the top of the SharePoint list view, the form opens in a dialog and clicking on the hyperlinks in that control opens the documents in a new tab. However, if the user opens the NewForm.aspx in its own tab so the form is not a floating dialog box, clicking on the same hyperlinks will not open the documents in a new tab and navigates them away from the form page, therefore any information the user entered in the form up to that point ends up being lost. Does anyone know if there is some way to configure the links/control settings so they will always open in a new tab regardless of the mode/method used to open the new item form in the user’s browser?
This is an example of the HTML source from the text format of the label control settings:
Reference these documents:
<span id="NWRTEReference1">
<a class="ms-rtestate-write" onclick="selectThis(this);" contenteditable="true" href="javascript:void(0);" link="true" reftext="Corporate%20Card%20Request" reflink="https://intranet/documentcenter/Finance/Corporate%20Card%20Request.xlsx" style="text-decoration: underline; color: blue;">UCBI Corporate Card Request</a></span> &
<span id="NWRTEReference2">
<a class="ms-rtestate-write" onclick="selectThis(this);" contenteditable="true" href="javascript:void(0);" link="true" reftext="Cardholder%20Policy" reflink="https://intranet/documentcenter/Finance/Cardholder%20Policy.pdf" style="text-decoration: underline; color: blue;">
Any ideas you can offer would be greatly appreciated.