阅读背景:

在MVC中只读取所有表单字段

来源:互联网 

I am displaying 3 or more versions of a form. One version is an edit form to edit all fields. A second version will be a read only version of the same form which will be used to show all the same fields but with all fields having readonly="true" on the client side so that the user cannot enter data. The readonly fields need to use a different css style. This is to display archived data. I am already hiding the submit button so they can't submit but I want the form to look like it is readonly. A third version will have some fields readonly and some editable for a particular class of users that has limited editing privileges.I am displaying 3 or more versions of a form. O




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: