aem-core-forms-components icon indicating copy to clipboard operation
aem-core-forms-components copied to clipboard

Custom Form Submission Output Data for Custom Submit action

Open shravanthprasad opened this issue 1 year ago • 1 comments

Expected Behaviour

Should be able to add custom output data for AF submissions

Actual Behaviour

No Custom Form Submission Output Data submissionId,redirectUrl,thankYouMessage;

Reproduce Scenario (including but not limited to)

Create a custom submit action to post data to an endpoint. Pass submission success data to client side

Steps to Reproduce

Create a custom submit action to post data to an endpoint. Pass submission success data to client side

Platform and Version

AEM 6.5.17, 1.1.27-wcmB004

AEM Version (mention the exact version in case of cloud SDK)

AEM Forms Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

shravanthprasad avatar May 20 '24 09:05 shravanthprasad

@shravanthprasad, I assume you are referring to a client-side API for adding custom additional submit metadata during form submission as described in the API documentation: https://developer.adobe.com/experience-cloud/experience-manager-apis/api/stable/forms/. Is that correct?

While we are in the process of developing this client-side API, you can still directly use the HTTP API to include the additional metadata.

rismehta avatar May 21 '24 05:05 rismehta

In the latest version, we've included support for setting extra custom submit metadata directly from the client side. For a code sample, please refer to this link: GitHub - Adobe AEM Core Forms Components.

Closing the issue as resolved. If you have any more questions or need further assistance, please don't hesitate to open a new issue.

rismehta avatar Jul 10 '24 10:07 rismehta