cancel
Showing results for 
Search instead for 
Did you mean: 

How to make fields read-only

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)