This topic is locked

some fields editable and some protected based by type

9/27/2007 2:50:00 AM
ASPRunnerPro General questions
M
mstx04 author

Hello,
I have the following list
ID | Type | Name | Address | Phone

--------------------------------

10 | foo1 | abcd | street1 | 123

11 | foo2 | defg | street2 | 345

12 | foo3 | xyzz | street3 | 456
My question is, can I based on Type in the list make some fields editable and some protected? E.g Name is editable but Address and Phone is NOT editable for foo1. Address is editable for foo2, but NOT Name and Phone. Phone is editable for foo3, but NOT Name and Address.
Thanks
Mikael

M
maurello 10/2/2007

I need the same solution. Any help from the admin?

J
Jane 10/2/2007

Hi,
you can do it editing generated files manually. You should be familiar with ASP and JavaScript for that.
As workaround you can create some custom views on the Datasource tables tab and set different edit formats for these views on the Visual Editor tab.