Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to make fields read-only

While I may allow a customer to see their billing address, I don't want them to change it. How can I make certain fields read-only?

Former Member
replied

Hi Thomas,

If you are using 2007, find the ~/common/controls/accountaddressblock.ascx and make the templatefields that hold the delete button and the edit button invisible.

<asp:TemplateField Visible="false">

You will probably also want to make the add button invisible.

If you are on 5.9, this may not work. I think the address block is also used in the admin area.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question