This sample code uses the postFormSubmit hook to reload a page after a form submission. This is useful if you want to add entries to a form continuously.
((responseCode, mode, getColumnValue) => {
if (mode == 0) {
//reloads current page
window.location.reload();
}
})