Javascript to output all fields via webhook

Hi All,

Please can you help me with this?

I have the below code that works in most situations but I have an object that has several connections and I have used ‘text formulas’ using fields of the connections. The fields that use a text formula and the connections do not seem to be able to pull the data through. Is there a way to do this please? I have tested in integromat and they seem to be able to received all the fields including text formulas using connections. I think integromat is able to do this because it is grabbing the whole object rather than a form view.

// View_1031 
$(document).on('knack-form-submit.view_1031', async function(event, view, data) {

await $.ajax(
  data: {json: JSON.stringify(data)},
  dataType: 'json'


Thank you,


Hi All,

Actually I think I was wrong, the javascript does send all the fields as long as the submitted form has more fields on screen than I had,

Does anyone know how this works please? Do I have to have the connection fields on screen in the form in order for the data to be pushed out in the webhook?

Thank you


Hi @Paul yeah the ‘data’ variable only contains what the form submits in my experience, so you’ll need to include all the fields needed on the screen.

We do this a bit and use CSS to hide them when we don’t want them visible to the user, but need the fields for Javascript.

Hi @BradStevens, thanks for confirming.

Is there any variation of the javascript that can contain all the data please?

I guess not and to use the ‘hide’ in the display option also works fine to hide the fields you need to add to the form but don’t want the user to see.

Thanks for your reply,