如何在 Klaviyo Popup 中设置错误信息?

How to set error messages in Klaviyo Popup?

我按照 https://help.klaviyo.com/hc/en-us/articles/115005249548-Add-and-Customize-a-Legacy-Popup 中解释的方式实现了 Klaviyo Popup。表单未通过验证时如何配置错误消息?例如在文档中我发现了这个:

<script type="text/javascript" src="//www.klaviyo.com/media/js/public/klaviyo_subscribe.js"></script>
<script type="text/javascript">
    KlaviyoSubscribe.attachModalSignUp({
        list: 'LIST_ID',
        delay_seconds: 10.5,
        content: {
            clazz: ' klaviyo_modal_LIST_ID',
            header: 'Join our Newsletter!',
            subheader: 'Get the latest and greatest news from us.',
            button: 'Subscribe Me!',
            success: 'Thanks! Check your email for a confirmation.',
            extra_fields: ["$first_name", "$last_name"],
            styles: '.klaviyo_modal.klaviyo_modal_LIST_ID { font-family: "Helvetica Neue", Arial}.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_header { color:#222;}.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_subheader { color:#222;}.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_submit_button,.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_submit_button span { background-color:#0064cd; background-image: none; border-radius: 2px;}.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_submit_button:hover,.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_submit_button span:hover { background-color:#0064cd; background-image: none; }.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_inner,.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_fieldset .klaviyo_field_group input[type=text],.klaviyo_modal.klaviyo_modal_LIST_ID .klaviyo_fieldset .klaviyo_field_group input[type=email] { border-radius: 2px;}'
        }
    });
</script>

请注意文档中如何包含这一部分:

success: 'Thanks! Check your email for a confirmation.',

我原以为会看到类似这样的错误消息:

error_message: 'My custom error message.',

有没有办法配置自定义错误消息?谢谢。

https://www.klaviyo.com/blog/new-klaviyo-popup-builder, it is my impression that they want to focus on this New Klaviyo Form Builder, which is great for people who need something easier than writing HTML/CSS. It would not surprise me if Klaviyo does not have a way to customize error messages using the "Legacy Popup", as they call it at https://help.klaviyo.com/hc/en-us/articles/115005249548-Add-and-Customize-a-Legacy-Popup 阅读这篇 Klaviyo 的博客条目时,尽管对我来说它不应该是 "legacy" 在 Klaviyo 中构建弹出窗口的方式。