I am using yForm (Orbeon Form Builder) to generate form run time, where we have a requirement to set different custom success message for each form (eg: "Your contact form save successfully", "Your address form…"). I would like to configure this success message from Form Builder, so that whenever an end user saves that form, it can see the corresponding custom message.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I'll assume that by "success message", you are referring to the message shown next to the buttons that are at the bottom of the form.
This message is shown when the success-message()
action runs. Actions are executed by a processes, which, at the time of this writing, can't defined in Form Builder, but are instead defined in your properties-local.xml
. If you are new to this, I'd recommend you have a look at the Buttons and processes section of the documentation.