在newform.aspx和editform.aspx中隐藏/禁用,显示/启用没有代码的字段 [英] Hide/disable, show/enable fields without code in newform.aspx and editform.aspx

查看:87
本文介绍了在newform.aspx和editform.aspx中隐藏/禁用,显示/启用没有代码的字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

是否可以基于登录用户在没有代码的情况下隐藏/显示(启用/禁用)Newform.aspx和Editform.aspx上的字段?

使用javascript/jquery是否可以?

请协助.

预先感谢.

此致

Jayashri

解决方案

您好Jayashri10,

是的.

检查以下链接:

http://ravirapolu.blogspot.ae/2011/09/enabledisable-ables-using-jquery-in.html

http://www.learningsharepoint.com/2013/06/24/customize-fields-in-newform-aspx-hidedisablepre-populate-with-js-link-in-sharepoint-2013/

https://social.technet.microsoft.com/Forums/zh-CN/e5cd87f0-3b52-416c-9661-36e02cfbd8ce/disable-fields-using-jquery-in-sharepoint-2013?forum=sharepointgeneral

希望这会对您有所帮助.

此致


Hello,

Can we hide/show(enable/disable) fields on Newform.aspx and Editform.aspx without code on basis of logged in user?

Is it possible with javascript/jquery, ?

Please assist.

Thanking in advance.

Regards,

Jayashri

解决方案

Hi Jayashri10,

Yes we can. 

Check below links:

http://ravirapolu.blogspot.ae/2011/09/enabledisable-fields-using-jquery-in.html

http://www.learningsharepoint.com/2013/06/24/customize-fields-in-newform-aspx-hidedisablepre-populate-with-js-link-in-sharepoint-2013/

https://social.technet.microsoft.com/Forums/en-US/e5cd87f0-3b52-416c-9661-36e02cfbd8ce/disable-fields-using-jquery-in-sharepoint-2013?forum=sharepointgeneral

Hope this will help you.

Regards,


这篇关于在newform.aspx和editform.aspx中隐藏/禁用,显示/启用没有代码的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆