내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Using Readonly disabled html5 attributes with AEM Forms

Avatar

Level 4

Hi ,

 I'm trying to use html5 attributes readonly , disabled on a extended guidetext field component on AEM forms 6.1. In Edit mode attributes are set correctly but in preview mode these attributes are automatically being removed from the mark-up . 

Any filters that i need to manage to respect these attributes ? 

In show/hide rule editor we can set a field to disabled but as per our uX requirements we have different use cases to make a field readonly and disabled .

 

Any Pointers ?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 1

You can create a initialize script which sets the "access" to readOnly or other way have a "enabled" expression which is false on some condition.

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Level 1

You can create a initialize script which sets the "access" to readOnly or other way have a "enabled" expression which is false on some condition.