- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello XyNaiz,
Yes, you can use the <leave> element on the xtk:workflow form.
If you wnat to force some fields to be set, use the <set> element :
<leave>
<if expr="[/ignored/@type]='a'">
<set value="1" xpath="@myField"/>
</if>
<if expr="[/ignored/@type]='b'">
<set value="2" xpath="@myField"/>
</if>
</leave>You can use this on container, subForm or at the end of the global form.
You can use temporary fields (not saved) with /tmp or /ignored elements.
Cédric