Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to trigger <leave> in referenced container?

Avatar

Level 2

I have a custom container which I am including in nms:delivery input form like this:

 <container ref="cus:outboundPhone:outboundPhoneContainer" xpath="."/>

I am trying to add a validation-method, by adding a <leave>-tag in the container mentioned above but the only way I have got the leave-tag to trigger is by placing it in the nms:delivery input form itself.
It would be nice to have minimal adjustments to the OOB-schemas, which is why I would like the to place the leave-tag in the custom built input form.
Has anyone got a solution for this? :slightly_smiling_face:

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @_lukas_ 

I had this problem long time ago. I remember having to put the &gt;leave> tag on directly in the parent form, but at the end, I managed to get it work.

Not sure but try to use sub &gt;container> into your custom built subform. I have working (and complex) subforms just right here so I think it works, but don't have any exact rules to give :disappointed_face:

 

Cedric

 

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hello @_lukas_ 

I had this problem long time ago. I remember having to put the &gt;leave> tag on directly in the parent form, but at the end, I managed to get it work.

Not sure but try to use sub &gt;container> into your custom built subform. I have working (and complex) subforms just right here so I think it works, but don't have any exact rules to give :disappointed_face:

 

Cedric