如何更改表单扩展的成功消息?
How to change success message of form extension?
我正在使用系统扩展 form 来获取小型联系表单。默认的成功消息是
The form has been sent successfully by mail
如何更改此消息和错误消息and/or 翻译?
编辑您的表单内容元素,转到选项卡 表单。在那里您将看到表单配置。在块 postProcessor
中添加一个 message
块:
postProcessor {
1 = mail
1 {
recipientEmail = contact@example.com
senderEmail = form@example.com
subject = Call me please
messages {
success = Thank you! We will call you soon.
error = Oops! Something went wrong.
}
}
}
我正在使用系统扩展 form 来获取小型联系表单。默认的成功消息是
The form has been sent successfully by mail
如何更改此消息和错误消息and/or 翻译?
编辑您的表单内容元素,转到选项卡 表单。在那里您将看到表单配置。在块 postProcessor
中添加一个 message
块:
postProcessor {
1 = mail
1 {
recipientEmail = contact@example.com
senderEmail = form@example.com
subject = Call me please
messages {
success = Thank you! We will call you soon.
error = Oops! Something went wrong.
}
}
}