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
BedrockMission!

Learn More

View all

Sign in to view all badges

Can you create rules around File attachment feature AEM Adaptive Forms

Avatar

Avatar
Validate 1
Level 1
lukep69648506
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
lukep69648506
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
lukep69648506
Level 1

05-05-2019

I am building out an adaptive form and need customers to upload a file. This works as expected but I would like to write a rule that shows a "user details"  form fragment once a file has been successfully chosen from the aforementioned file attachment feature.

Is this possible?

Example

<FORM>

File upload button

<Use details Fragment>

Name

email

form

</fragment>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile
Mayank_Gandhi
Level 10

06-05-2019

Yes, you can try below approach.

1747321_pastedImage_0.png

script:

window.guideBridge.getFileAttachmentsInfo({

     success:function(list) {

      if(list.length>0){

       //show the fragment

      }

     }

});

Answers (0)