Hi,
I am trying to submit an adaptive form with three fields to an internal servlet /bin/sling/adaptiveformssubmit
I followed the steps here and created the below configs
I added the below configs in the submit section.

I always get the default message "Thank you for submitting the form." and the form data does not reach the back end servlet.
This is my post.POST.jsp
<%@include file="/libs/fd/af/components/guidesglobal.jsp" %>
<%@page import="org.apache.sling.api.resource.ResourceUtil,
com.adobe.cq.social.commons.CollabUtil,
org.apache.sling.jcr.api.SlingRepository,
org.apache.sling.api.resource.ValueMap,
java.util.concurrent.atomic.AtomicInteger,
org.slf4j.Logger,
org.slf4j.LoggerFactory,
org.apache.sling.jcr.base.util.AccessControlUtil,
org.apache.jackrabbit.api.security.user.UserManager,
com.adobe.aemds.guide.service.GuideStoreContentSubmission,
javax.jcr.security.Privilege,
java.util.HashMap,
javax.jcr.Session,
javax.jcr.Node,
javax.jcr.security.AccessControlList,
javax.jcr.security.AccessControlPolicyIterator,
javax.jcr.security.AccessControlManager,
javax.jcr.security.AccessControlPolicy,
com.day.cq.commons.jcr.JcrUtil,
com.adobe.aemds.guide.servlet.GuideSubmitServlet,
com.adobe.aemds.guide.utils.GuideConstants,
com.day.cq.wcm.foundation.forms.FormsHelper" %>
<%@ page import="org.apache.commons.lang3.StringUtils" %>
<% final AtomicInteger uniqueIdCounter = new AtomicInteger();
%>
<%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0" %>
<%
%>
<%@taglib prefix="cq" uri="http://www.day.com/taglibs/cq/1.0" %>
<cq:defineObjects/><sling:defineObjects/>
<%
log.info("Inside Contact Us!");
FormsHelper.runAction("/bin/sling/adaptiveformssubmit", "post", resource,
slingRequest, slingResponse);
//GuideSubmitServlet.setForwardPath(slingRequest, "/bin/sling/adaptiveformssubmit", null, null);
%>
I have also tried to directly link the servlet as a REST Endpoint like below

This throws a 500 error on the page.

Please let me know if I am missing any configurations for the submit action to work on a servlet