custom button in toolbar with rules from default button

M

Mancha

Can I add a rule of a default button in form in manifest.xsf in a
custom toolbar button?

When I copy a rule from default button in form to a custom toolbar
button I get an error. InfoPath doesn't opened.
I need a rule in a custom toolbar button.

My modified manifest.xsf:

<xsf:toolbar caption="MyCaption" name="myToolbar">
<xsf:button name="btnCancel" caption="Cancel" icon="106">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:toolbar>

<xsf:unboundControls>
<xsf:button name="btnTestClose">
<xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
</xsf:button>
</xsf:unboundControls>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top