Adding regex validation to pathfield - AEM 6.4

ashishkhadpe

17-09-2020

Hi All,

 

We have migrated from classic UI to touch UI. In one of our component, we have added regex validation on pathfield as below in classic UI.

 

<fieldConfig
jcr:primaryType="nt:unstructured"
regex="/^(.*)\.pdf$/"
xtype="pathfield"/>

Any one know how I can get the regex added to my touch UI dialog? 

Answers (0)