Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Forms Workspace Form Validation

srujan816
Level 3
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
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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

Kosta_Prokopiu1
Employee
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.
Kosta_Prokopiu1
Employee
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.
Mayank_Gandhi
Community Advisor
Community Advisor

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

srujan816
Level 3
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?