Good Morning,
We are in the process of converting all Designer forms into XDP files then uploading to AEM. In this process, I have discovered that the time object validations are not working in HTML. When the user types the value into these objects (we have a 12 hour and 24 hour object created), it simply disappears upon exit. I've tried to use multiple validation formats and get nothing but a Validation error, even when I type it exactly what the validation calls for. This field works perfectly in the "Preview PDF" tab but not the "Preview HTML" tab. Does anyone know if this is a common issue and what is the work around for this?
Thank you.
Views
Replies
Total Likes
@nowackem HTML preview may not honor everything of PDF. You can use vanilla js to validate the field.
Views
Replies
Total Likes
Here are some links for the comparison of PDF and HTML5 renditions:
https://helpx.adobe.com/aem-forms/6-1/html5-forms/best-practices-design-html5-forms.html
https://helpx.adobe.com/aem-forms/6-1/html5-forms/feature-differentiation-html5-forms-pdf-forms.html
https://helpx.adobe.com/aem-forms/6-1/html5-forms/scripting-support.html
Are you using FormCalc? You may have to change to JavaScript as FormCalc is only supported server-side.
Also check if your locale settings match the expected locale in the form/field.
Views
Replies
Total Likes
Views
Replies
Total Likes
I am having the same issue. I am in the process of converting my PDF forms to XDP to render as html. Any updates or workarounds for this that you came up with? Any help will be much appreciated. Thanks.
Views
Replies
Total Likes
Sorry, we haven't come up with a good solution yet. However, when we do find a solution, I will be sure to post it here. This was actually put on the back burner for a time but now that you mention it, I think I'm going to revisit this issue.
Views
Replies
Total Likes
Thanks for the response. I am foolishly hoping for an easy workaround instead of having to re-write all my fields and code. I have opened a ticket with AEM support as well to see if they have any insight. If I get anything useful, I'll pass it on. Thanks.
@RaviMRam Thank you! That would be great. We are finding out that converting Designer forms from XDP to HTML for AEM is not as easy/smooth as we hoped.
Views
Replies
Total Likes
Hi @RaviMRam
I had the same experience and replaced Date fields with Text fields for the moment - no data picker though...
Can you give me the support ticket id to have a look?
Kosta
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies