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
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
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)