XBL Orbeon custom control to show different succes

2019-01-29 11:25发布

问题:

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.