Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

Making whole input form read only

Avatar

Employee

Hi, i wanted to know if there is any way to make a whole input form read-only, without manually updating each input's attributes one by one?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @HariharanB ,

You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)

 

Example,

<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"

 readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">

 

Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @HariharanB ,

You can add readOnlyExpr="true" in initial <form> tag. (Disconnect & reconnect)

 

Example,

<form _cs="Customer (abc)" created="2023-03-07 10:53:24.776Z"

 readOnlyExpr="true" .... lastModified="2023-03-07 10:53:24.776Z"
name="customer" namespace="name" xtkschema="xtk:form">

 

Incase if it not reflected in input form after disconnect-reconnect, clear local cache, disconnect-reconnect again.