HTML calculated field
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 KozlovAdminMember for: 9 years 8 months 16 days
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.
-
cgrunkeMemberMember for: 9 years 8 months 12 days
Perfect! works exactly how I wanted. Thanks a lot!
-
kimannMemberMember for: 3 years 1 month 22 days
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.
-
errorsdocMemberMember for: 3 years 1 month 21 days
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.
-
FractoggenMemberMember for: 3 years 1 month 13 days
It is very informative and helpful to me. I admire the message valuable information provided.
-
sakshi162MemberMember for: 3 years 1 month 5 days
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/ -
acquiroMemberMember for: 3 years 13 days
-
serenityreidMemberMember for: 2 years 7 months 12 days
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.
-
Sylvia99MemberMember for: 2 years 6 months 21 days
Every single college has its peculiar freshmen traditions. Make friends with sophomore students to get as much information about crazy customs as possible.
-
OddyannMemberMember for: 2 years 5 months 24 days
Nice topic!