Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Calculated Column Query

$
0
0

I'm using the formula =CONCATENATE("<INPUT TYPE='button' onClick='","window.location.href=pages.html?ID=",ID,"' value='Edit' />") in a calculated column and it is outputting

<input onclick="window.location.href=pages.html?ID=3009" type="button" value="Edit"/>

but what I really want is:

<input onclick="window.location.href='pages.html?ID=3009'" type="button" value="Edit"/> 
i.e inverted commas around the address.

My brain's having an off day and I'm sure it's a quick adjustment to the formula. Anyone able to offer a suggestion?

Thanks,

Dan


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>