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

Input forms - visibleIf

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

You have to do something like this.

    <container>

          <input.....>

            <enter name="onChange">

              <refresh/>

              <setModified/>

            </enter>

          </input>

</container>

Regards,

Amit

Avatar

Level 3
Can a <refresh/> or <setModified/> only be used inside an <enter>? or should these also work in a <leave>? Thanks!

Avatar

Level 1

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