HTML calculated field

rss

Posted by cgrunke - Sep 25 ’13 at 01:36

I was wondering if there was a way to display a HTML calculated field as a clickable link.  I have a sharepoint column that I formatted to create a HTML link based off of another field.  I used the procedure in the following link to accomplish this.http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/.

I then create a Content Editor Web Part and place it below the form.  in the HTML section of the CEWP I place this code: http://www.pathtosharepoint.com/Downloads/TextToHTMLlite-v2.1.1.txt

This all works until I switch from the default sharepoint display form to the Sharepoint Forms Designer.

Any suggestions on getting a HTML calculated column to work in Sharepoint Forms Designer?  The solution wouldn't necessarily have to use the solution I linked to above.  I just wanted to share what I have tried so far.

Thanks in advance.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 9 years 8 months 16 days
    #1 by Dmitry Kozlov Sep 26 ’13 at 04:15

    Hello,

    Put your calculated column into the form with Forms Designer. Then put the following code into JS-editor of Forms Designer:

    var text = fd.field('Calc1').control()._el().text();
    fd.field('Calc1').control()._el().html(text);

    In my example the internal name of the calculated column is 'Calc1', so you have to replace it with your internal name.

  • cgrunke
    Member
    Member for: 9 years 8 months 12 days
    #2 by cgrunke Sep 26 ’13 at 10:12

    Perfect!  works exactly how I wanted.  Thanks a lot!

  • kimann
    Member
    Member for: 3 years 1 month 22 days
    #3 by kimann Apr 15 ’20 at 03:19

    Yes indeed as I was having same problem working weith some of files to look a way around to get off this problem and I had no idea what to and then it was my fortune to turn to this website and then It was real easy and hassle free to get the solution to the issue for the nursing paper UK thanks and I appreciate it.

  • errorsdoc
    Member
    Member for: 3 years 1 month 21 days
    #4 by errorsdoc Apr 16 ’20 at 04:20

    Everybody gets excited when they get another iPhone. The second they get it, un-boxing and changing the SIM to the new iPhone is done in a quick. It is simply the vast majority of the occasions, however, some of the time the iPhone couldn't be initiated due to the iPhone is not activated. Don't worry, you don't have incredible specialized information to fix iPhone activation error, ipad activation error, having the essential thought regarding it would surely push you to a ton. There may be specialized issues with the handset, or issues with the server of the portable specialist organization.

  • Fractoggen
    Member
    Member for: 3 years 1 month 13 days
    #5 by Fractoggen Apr 24 ’20 at 02:03

    It is very informative and helpful to me. I admire the message valuable information provided.

  • sakshi162
    Member
    Member for: 3 years 1 month 5 days
    #6 by sakshi162 May 2 ’20 at 06:37

    We provide tech support services to fix your on-call issues. Call our Executive Customer Support. Our Engineering Support team will get you in touch. As we have solved thousands of Computer / Network issues with high-performance rate and Rates of customer satisfaction. Professional support is one of the Leading Generation's most online support systems. We provide quality services anywhere, wherever we use the internet.
    http://hp123hp.com/
    http://officeecomsetup.com/
    https://www.mcafeeactivatee.uk/
    http://norton-com-nu16.com/
    http://canon.com-ijsetup.com
    ttps://canon.com-ijsetup.com/canon-printer-drivers/

  • acquiro
    Member
    Member for: 3 years 13 days
    #7 by acquiro Jun 15 ’20 at 04:39
  • serenityreid
    Member
    Member for: 2 years 7 months 12 days
    #8 by serenityreid Oct 26 ’20 at 10:25

    Some students hate writing the book review paper because it may take a lot of time, if it means reviewing a book that student never read. However, following several steps on our guideline will make this process much easier.

  • Sylvia99
    Member
    Member for: 2 years 6 months 21 days
    #9 by Sylvia99 Nov 17 ’20 at 07:50

    Every single college has its peculiar freshmen traditions. Make friends with sophomore students to get as much information about crazy customs as possible.

  • Oddyann
    Member
    Member for: 2 years 5 months 24 days
    #10 by Oddyann Dec 14 ’20 at 02:15

    Nice topic!

Displaying 1 to 10 of 47 messages
Previous12345