Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM Forms Workspace Form Validation

Avatar

Level 3

Hi All,

 

I am migrating XFA forms to HTML5 forms in AEM 6.5. In XFA we have written validations before submitting the form but those validations are not working in HTML5. Is there any way to use those validations in HTML5 form?

 

Please help.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@srujan816 This is known that designer script may break in HTML  so you will have to refactor the scripts but it all depends on the methods and their support. 

https://experienceleague.adobe.com/docs/experience-manager-64/forms/developer-reference/programming-...

 

https://experienceleague.adobe.com/docs/experience-manager-65/forms/html5-forms/faq.html?lang=en#lay...

 

- Mayank Gandhi

View solution in original post

6 Replies

Avatar

Correct answer by
Employee Advisor

@srujan816 This is known that designer script may break in HTML  so you will have to refactor the scripts but it all depends on the methods and their support. 

https://experienceleague.adobe.com/docs/experience-manager-64/forms/developer-reference/programming-...

 

https://experienceleague.adobe.com/docs/experience-manager-65/forms/html5-forms/faq.html?lang=en#lay...

 

- Mayank Gandhi

Avatar

Employee
Supported scripting for HTML5 is listed ´here: https://experienceleague.adobe.com/docs/experience-manager-65/forms/html5-forms/scripting-support.ht... SaveXML is not supported and I know of no replacement for this functionality.

Avatar

Employee
does your validations use AWS_xxxx fields to determine the selected action and do you use the FormBridge subform with the scripting? Those will not work in HTML5.

Avatar

Employee Advisor

@srujan816  submit data to workflow if you have a server. 

Avatar

Level 3

@mayank- We had AWS_XXXX scripts to submit the form in workspace. But now submission is not happening in same code what we written in PDF forms in HTML5. What's the alternate approach to submit HTML5 form in the workspace?