AEM form going to thank you page without waiting for response from Servlet

Avatar

Avatar
Level 1
abhishek_yadav14
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
abhishek_yadav14
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
abhishek_yadav14
Level 1

22-01-2021

Hi All,

 We are using adaptive forms, and it is integrated with different third party services. But once we click on submit, it goes to thank you page without waiting for the response from the servlet. Due to this, even failed submission shows success on the frontend.   

Is there any OOTB way we can use it? currently, we are using JS ajax may to fulfill our requirements. I don't want to code on adaptive forms as they are authorable and authors are not that technical to code on it.

 

 

Accepted Solutions (0)

Answers (1)

Answers (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

01-02-2021

@abhishek_yadav14 There is a checkbox in the guide container submit to tell the container on whether it's an async or sync request. Try using that.