Skip to main content
ian-k
Mar 14, 2018 2:20 AM UTC
Solved

Input forms - visibleIf

Hi,

I have an input form that includes a container that is optionally visible - something like:

<container type="visibleGroup" visibleIf="[folder/@label]='test'">

   <input .... />

</container>

When I create (and save) a new record the section remains hidden.  If I change record, or hit refresh (F5)

the section becomes visible.

How would I ensure the section becomes visible when the record is saved without requiring the user to

refresh manually

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Amit_Kumar
Amit_KumarAccepted solution
Level 10
Mar 14, 2018 7:55 PM UTC

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

3 replies

Amit_Kumar
Amit_KumarAccepted solution
Level 10
Mar 14, 2018 7:55 PM UTC

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

Translate
Level 3
Mar 9, 2020 9:53 AM UTC
Can a <refresh/> or <setModified/> only be used inside an <enter>? or should these also work in a <leave>? Thanks!
Translate
ian-k
ian-kAuthor
Mar 14, 2018 11:25 PM UTC

Thanks Amit,

I will give that a try when I am back at my desk.

Any idea where I would find that in the documentation ?

Kind regards

Ian

Translate