Orbeon Custom metadata at form level

十年热恋 提交于 2019-11-29 18:12:49

I would rather add this to the fr-form-metadata instance, e.g. by editing the source of the form in Form Builder, and adding, say, a <success-message> inside <metadata>:

<xf:instance xxf:readonly="true" id="fr-form-metadata" xxf:exclude-result-prefixes="#all">
    <metadata>
        ...
        <success-message>Submitted, all good!</success-message>
    </metadata>
</xf:instance>

Then, in your process, you can show that message with:

success-message(message = "{xxf:instance('fr-form-metadata')/success-message}")
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!