mission),
          custom: custom_answers,
        },
        callback: (r) => {
          frappe.show_alert(
            {
              message: __('Submission updated successfully!'),
              indicator: 'green',
            },
            3,
          )
          setTimeout(() => {
            window.location.reload()
          }, 2000)
        },
        error: (e) => {
          frappe.throw({
            message: __('Failed to update RSVP Form. Please try again.'),
            indicator: 'red',