You are viewing limited content. For full access, please sign in.

Question

Question

Does Laserfiche support HTML 5?

asked on October 19, 2022

I'm trying to create an email validation in CSS using HTML 5 attributes. I'm currently using version 10 of Laserfiche.

0 0

Answer

APPROVED ANSWER
replied on October 19, 2022

Forms will pick up on a pattern attribute via the Parsley validation it uses, but on an email field you'd have to set the attribute with JavaScript.

Since you are requiring a specific domain, that kind of addresses one of the biggest reasons you'd want to use an Email field anyway. 

I'd say to just use a normal Single Line field and use the out-of-the-box Regex option to check for the domain pattern.

3 0

Replies

replied on October 19, 2022

What kind of email validation are you trying to configure? What attributes are you using?

It's really up to the client browser to support HTML5, not Forms.

0 0
replied on October 19, 2022

I'm trying to use the attribute 'pattern' in a form, to limit email inputs to only a certain domain. 

0 0
APPROVED ANSWER
replied on October 19, 2022

Forms will pick up on a pattern attribute via the Parsley validation it uses, but on an email field you'd have to set the attribute with JavaScript.

Since you are requiring a specific domain, that kind of addresses one of the biggest reasons you'd want to use an Email field anyway. 

I'd say to just use a normal Single Line field and use the out-of-the-box Regex option to check for the domain pattern.

3 0
replied on October 19, 2022

Thank you! That worked actually.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.