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

Using Readonly disabled html5 attributes with AEM Forms

Avatar

Avatar
Validate 10
Level 2
Krisgum
Level 2

Likes

12 likes

Total Posts

67 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
Krisgum
Level 2

Likes

12 likes

Total Posts

67 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Krisgum
Level 2

07-06-2016

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
saswatad1092830
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
saswatad1092830
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile
saswatad1092830
Level 1

09-12-2016

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.

Answers (0)