在sharepoint 2007中填充下拉列表值 [英] Populate dropdown list value in sharepoint 2007

查看:79
本文介绍了在sharepoint 2007中填充下拉列表值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我创建了两个列表Productname和MedicalQueries。在MedicalQueries中包含医疗相关信息和productname包含不同的产品,其包含根据产品医师(PP)的产品批准,pp是MedicalQueries列表中的查阅列。当我为MedicalQueries List创建响应时,然后在texbox中显示productname,但是没有填充下拉值的productphysician,我必须选择此值。但我想填充产品名称的下拉值。所以请帮帮我。



非常感谢提前..

解决方案

如果你的意思是新项目将项目添加到列表时,您需要修改此页面以获取您要查找的行为。有了查阅列,除非你告诉它,否则SharePoint无法知道什么是默认值。



虽然这是2010年,它应该让你知道什么是需要的发生在2007年。

自定义SharePoint列表表格

[ ^ ]


您的要求是级联下拉,不是吗?不幸的是,SharePoint没有支持:-(。



但是你可以使用Jquery。这是帮助你的帖子。



http://salaudeen.blogspot.com/ 2011/01 /级联-下拉式使用下-jquery.html

Hi,

I have created two list Productname and MedicalQueries. In MedicalQueries contains medical related information and productname contain different-different product, its contain according to product approval for productphysician(PP), pp is a lookup column in MedicalQueries List. When i create response for MedicalQueries List then productname display in texbox but productphysician of dropdown value is not populated always i have to select this value. But i want to populate dropdown value accroding to productname. So please help me.

Many thanks in advance..

解决方案

If you mean the new item dialog when adding an item to the list then you will need to modify this page to get the behavior you are looking for. With a lookup column SharePoint has no way of knowing what should be the default unless you tell it.

Although this is for 2010 it should give you the idea for what needs to occur in 2007.
Custom SharePoint List Forms
[^]


Your requirement is to have a Cascading drop down, Isn't it? unfortunately SharePoint doesn't suport that :-(.

But you can achieve using Jquery. Here is the post to help you.

http://salaudeen.blogspot.com/2011/01/cascading-drop-down-using-jquery.html


这篇关于在sharepoint 2007中填充下拉列表值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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