since ‎08-05-2018
‎10-12-2019
harimst
Level 1
Re: adaptive form || custom message after custom,serverside validation fails harimst - Adobe Experience Manager Forms
Question on the 3rd option mentioned in the response above>>>>For passing messages to the client based on custom validations done on the server, you need to forward the request back with the required data. If you need to leverage the client side validation on the server, you can enable the server side validation option from Adaptive Form Container Dialog. If your validations are custom, then you can do something like this in your custom Submit action which you had created, ...// Forward the requ...
966
Views
0
Likes
0
Answers
Server side validation - query harimst - Adobe Experience Manager Forms
I have a requirement to collect some info from casual visitor to the site (unauthenticated) using AEM Forms. On posting data to backend (custom rest endpoint), there may be some validation failures - in which case, the form should be rendered back to the user with the data filled in (whatever was just entered) along with an error message. The validation cannot be done from client side. I tried the 3 options below, none of them seem to work.SlingHttpServletRequest wrappedErrorRequest = new Custom...
2078
Views
1
Like
2
Replies
Likes given to
Likes from