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

XDP to HTML Conversion - Designer Time Field validations not working in HTML

Avatar

Avatar
Validate 1
Level 2
nowackem
Level 2

Likes

2 likes

Total Posts

39 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
nowackem
Level 2

Likes

2 likes

Total Posts

39 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
nowackem
Level 2

28-01-2021

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

145 likes

Total Posts

337 posts

Correct Reply

94 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

145 likes

Total Posts

337 posts

Correct Reply

94 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kosta_Prokopiu1
Employee

01-02-2021

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.

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

01-02-2021

@nowackem  HTML preview may not honor everything of PDF. You can use vanilla js to validate the field.