Here is what I am trying to do. On a form, I want to create a hyperlink to open an email directed to a person whose name/email is a person/group field in the list.
The problem I am running into, is how to use an item property in a hyperlink, which appears to need to be created using the label field. When you create a hyperlink, you lose access to inserting an item property field.
Solved! Go to Solution.
Using the rich text does allow me to insert a referenced item, but just within the body. After I click on Link to insert a link, this opens in a dialog which prevents me from calling on an item property.
Also, using O365:
Thank you for the suggestions. I have found a solution without JS.
If you create label on a form, you can insert an item reference, but not if you create a hyperlink in the label, as mentioned above.
So, these are the steps I followed to get this to work:
The trick here was figuring out the correct syntax to use for the named property, which appears randomish???
You can do this the same way you would in infopath or adobe:
- Add a rich text field and click the insert tab at the top, then click link.
- In the address field type or whatever email you're wanting to link to open.
- Then type the text you would like to display.
- click OK
Please note: the link does not show up in the form designer. You have to preview the form to see it/test it.
also, this will not work with data real time being entered into the form. I'm wondering if there's a way to set a variable with a field value and reference it somehow but haven't figured it out.