Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Converting form data based on pattern in the Form Data Model

Avatar

Level 4

We are using a FDM that comes from a backend service - the date format for some of the fields is very particular. (eg ^[0-9]{8}T[0-9]{6}\.[0-9]{3} GMT$)

We have tried mapping this pattern to a date format in the date component, but it does not work. 

Is there a way to define a format for the bound data item and/or provide a conversion rule?

 

We are using Core Forms components

1 Reply

Avatar

Level 1

If it's a FDM backed form, you can write FDM pre & post processor to manipulate the request and response data respectively as per your needs
https://developer.adobe.com/experience-manager/reference-materials/6-5/forms/javadocs/com/adobe/aem/...
https://developer.adobe.com/experience-manager/reference-materials/6-5/forms/javadocs/com/adobe/aem/...