Input forms - visibleIf | Community
Skip to main content
ian-k
March 14, 2018
Solved

Input forms - visibleIf

  • March 14, 2018
  • 2 replies
  • 4173 views

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.
Best answer by Amit_Kumar

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

2 replies

Amit_Kumar
Amit_KumarAccepted solution
March 14, 2018

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

March 9, 2020
Can a <refresh/> or <setModified/> only be used inside an <enter>? or should these also work in a <leave>? Thanks!
ian-k
ian-kAuthor
March 14, 2018

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