Thank for your reply and pointing me in the right direction.
Not much of a programmer so if you could indulge me further it would be much appreciated.
So if the form id is 4 and I would like all the multiple checkbox fields to be converted to the array element per line format before sending it to gravity forms, would the following code be correct?