cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

I have a form with a List Lookup control on the form.

In view mode the form displays the value from this Lookup Control, as a hyperlink.

I want to remove the hyperlink from the value and retain the text only, in the Form View mode.

I would appreciate any help extended on this.

Thanks.

Labels: (1)
Reply
14 Replies
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

Hi Ritesh Ratna‌,

You can try

1. Remove Hyperlink from Lookup Columns in SharePoint | Salaudeen Rajack's SharePoint Diary.

2. Use a calculated column and set it to selected value of a drop down and show it only in display form.

3. Create another field and use workflow and update it with the selected value of drop down and show it only in display form.

Thanks,

Lakshmi Narayana C

Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

A simple solution could not to show this control when the form mode = "View".

Instead you can use another control showing that information.

You can use the rules of controls to set Visible or Not

Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution
0 Kudos
Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

I had tried this earlier, but it did not work for me.

0 Kudos
Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

Thanks Fernando. Your Idea was a hit.

I appreciate your help.

What I have done is -

1. I already had a 'List Lookup' control, named 'TestLookup'.

2. Create added a 'Calclated Value' control called "calcAlternateValue", with the following settings.

3. Create a rule for the "TestLookup" control.

     (Hide the control on "Is Display Mode")

           

4. Create a rule for the Calculated Value control - "calcAlternateValue".

     (Hide the control on "not(Is Display Mode)"  )

5. Save and Publish the form. It's Done.

Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

Thanks Lakshmi.

The solution in the link provided by you, did not actually work.

However, your Idea of using the Calculated Value Control, combined with the idea given by Fernando (as below), has hit the final nail in the coffin. Issue Fixed.

Thanks all the same for your contribution.

0 Kudos
Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

I'm sure it works

have you turned 'Is Display Mode' text within code into reference?

0 Kudos
Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

It dint worked for me too.

0 Kudos
Reply
Workflow Hero

Re: Remove the hyperlink from the Lookup Field on the Form in View Mode

Jump to solution

this doesn't give a clue on your setup and problem...

please create new question and describe what exactly you a trying to do and problems/errors you experience.

Reply