Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
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
Level 10

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

3 Replies

Avatar

Correct answer by
Level 10

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