const displayFormError = function (error) {
    if (error) {
      mainErrorAlert.html(error)
      mainErrorAlert.removeClass('hidden')
    } else {