I've got a Calculated field called: calcID with dynamic string number displayed, example result: 12.
I need to add this to a button's onclick event, which opens up a newform.aspx in dialog and that calcID is added to the URL as a query string parameter. ?CID=12
I've got the dialog opening up with a newform.aspx but have no idea how to add the value from the calcID.
So the value CID=xxxx is to be in the URL Query string, so it can be added to the newform where a field called CID is displayed. So all I need is a way to store that 12 in a variable and add it to the CID parameter.