多项选择框问题 [英] Multiple selection box question

查看:86
本文介绍了多项选择框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的表单中有一个多重选择框.除了提供一些值外,我还通过以下方式配置了属性:

I have a multiple selection box in my form. In addition to having a few values that I've supplied, I've configured the properties this way:

a)手动输入选择.
b)允许用户输入自定义值.

a) Enter choices manually.
b) Allow users to enter custom values.

当我转到Sharepoint中的表单时,我看到了提供的值以及旁边带有空白字段的复选框.我可以在那里输入一个值,但我不明白:

When I go to the form in Sharepoint, I see the values I've supplied and a checkbox with a blank field next to it. I can enter a value there, but I don't understand:

a)为什么只有一个值?我希望用户创建他们想要的任何东西.
b)我也希望这些新值成为整个表单的选择.

a) Why only one value? I want users to create whatever they want.
b) I also want those new values to be choices for the entire form.

那我误会了它的工作原理吗?如果是这样,我该如何实现我的目标,那就是让用户添加值并可供选择?

So am I misunderstanding how this works? And if so, how can I achieve what I'm after, which is to have users add values and available for selection?

一次只需要一天.

推荐答案

多值字段是您在SharePoint中做过的最糟糕的事情.不要使用它们.

Multi-Valued fields are the worst thing you could ever do in SharePoint. Do not use them.

创建一个子列表,该列表将允许用户输入所需的任意数量的值.

Create a child list, which will allow the user to enter as many values as you wish.

ParentList
-----------
ID
标题

ParentList
-----------
ID
Title

ChildList
---------
ID
标题->单行文本,任何人都可以放入他们想要的任何内容
父母->查找到ParentList.Title(或其他字段)

ChildList
---------
ID
Title -> Single Line of Text that anyone can put in anything they desire
Parent -> Lookup to ParentList.Title (Or some other field) 

用户填充ChildList.Title,以获得与数据一样多的行.他们每次都必须选择ParentList.Title,但它可以促进您的愿望,而您并没有获得MVF提供的所有陷阱.

The user populates the ChildList.Title for as many rows as they have data. They will have to select the ParentList.Title everytime, but it facilitates your desire, and you don't get all the pitfalls that an MVF provides.


这篇关于多项选择框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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