내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Aem 6.3 adaptive forms

Avatar

Level 2

The usecase is one adaptive form contains two submit buttons with different Element names and in post.POST.jsp the business logic varies for each submit button.how to achieve it

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 7

Ah ok. FYI for production that isn't recommended

https://helpx.adobe.com/aem-forms/6/configuring-submit-actions.html

"In a production environment, it is recommended not to store submitted form data in AEM repository. Submit actions such as Store Content, Store PDF, and Forms Portal store form data in AEM repository. These submit actions are meant only for demonstration purposes. Instead in a production environment, you must write a custom submit action that stores forms data in a more secure storage like your enterprise database. For more information, see Writing custom Submit action for adaptive forms."

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 7

Are submitting to a rest endpoint? If so, you could set a hidden field called say 'action' to a different value for each button before it submits, then when you get into your submit code just check the value of 'action' and proceed accordingly.

Avatar

Level 2

Hi James,

Thanks for the reply...we are submitting to repository not  to rest endpoint.

Avatar

정확한 답변 작성자:
Level 7

Ah ok. FYI for production that isn't recommended

https://helpx.adobe.com/aem-forms/6/configuring-submit-actions.html

"In a production environment, it is recommended not to store submitted form data in AEM repository. Submit actions such as Store Content, Store PDF, and Forms Portal store form data in AEM repository. These submit actions are meant only for demonstration purposes. Instead in a production environment, you must write a custom submit action that stores forms data in a more secure storage like your enterprise database. For more information, see Writing custom Submit action for adaptive forms."