Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Touch Ui Dialog || Regex validation of Dialog Field || AEM 6.5

Avatar

Level 2

Hi All,

I have a requirement to have a regex validation for a Touch UI dialog Field. After Initial Research i found out that for regex validation we need to add Granite:data node under that field and then configure regex validation. But, is there a fix by adobe that supports regex property of dialog field for regex validation.

I have referred AEM - Touch UI Component Dialog Field Regex/Custom Validation  for Granite:data information.

TIA

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Please check coral3 properties at TextField — Granite UI 1.0 documentation

Coral 2 at - TextField — Granite UI 1.0 documentation

I don't think so, there were regex validation supported by Adobe for touch UI in coral2.

Could you please share the link where you are referring?

granite:data node is used only to add custom data attribute for touch UI dailog fields.

In coral2, that was achieved by adding properties in field node itself.



Arun Patidar

View solution in original post

5 Replies

Avatar

Level 2

Hi arun

Thanks For the Response. I checked this Documentation and found this solution working.But Wanted to check if Adobe has provided fix to support direct regex property as it was working in coral2 fields.

Avatar

Level 2

Hi Umesh,

Thanks for the response.Actually i am looking for coral3 fields.

Avatar

Correct answer by
Community Advisor

Hi,

Please check coral3 properties at TextField — Granite UI 1.0 documentation

Coral 2 at - TextField — Granite UI 1.0 documentation

I don't think so, there were regex validation supported by Adobe for touch UI in coral2.

Could you please share the link where you are referring?

granite:data node is used only to add custom data attribute for touch UI dailog fields.

In coral2, that was achieved by adding properties in field node itself.



Arun Patidar