You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present it seems there is only a fixed response to any submission.
Allowing customized response options from the 'Respond to Webhook' node (just like with regular webhooks) would be useful, especially when working with custom html forms or javascript libraries.
The text was updated successfully, but these errors were encountered:
A work around I've found for this is the setup a n8n Webhook node that has a Respond to Webhook node down the line.
Then just update the javascript code to post to the webhook url node.
Optional addition: Add a body.innerhtml replace and place the response data to update the form page on the fly: $(document).on('submit','#n8n-form',function(e){ $.post('/webhook/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx', $('#n8n-form').serialize(), function(data, status) { //console.log(data,status); document.body.innerHTML = "<div>some html</div>"+ data + "<div>some html</div>";}); return false; });
At present it seems there is only a fixed response to any submission.
Allowing customized response options from the 'Respond to Webhook' node (just like with regular webhooks) would be useful, especially when working with custom html forms or javascript libraries.
The text was updated successfully, but these errors were encountered: