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