@radethdart –
Encountered same problem; contact form field with line breaks won’t pass on to the API.
Applied your fix, but doesn’t work for me; if I submit the form, the processing icon keeps spinning endlessly and the form won’t submit at all.
Any tips?
Much appreciated.