Event "formSubmission" doesn't trigger on Circuit SDK

52 Views Asked by At

Circuit client in my app subscribed to event 'formSubmission':

client.addEventListener('formSubmission', function (event)

Until last days it works fine, but now it doesn't trigger.

I tried to test it by creating a simple app that just send a form (just one button on it) as a reply to user's message and should log form submissions, but it doesn't go on this function.

client.addEventListener('formSubmission', function (event) {
     var submittedValue = event.form.data[0].value;
     console.log(`[CIRCUIT]: Form was submitted.`);
};

Any other events like 'itemAdded' or 'itemUpdated' work as they should

2

There are 2 best solutions below

1
On BEST ANSWER

Yes, just confirmed this is a bug and is being worked on. Will post here when its resolved. Are you using the circuitsandbox.net or production?

0
On

Production systems have been updated and the formSubmission event is received again. circuitsandbox will be updated with this fix soon.