如何在DNN的动态表单模块中使用和创建动态面板?
我有一些控件 RadioButton、CheckBoxGroup 和 TextBoxes。我想在这个动态面板中添加这些控件。我有一个组合框,其值为 1,2,3,4,5,6。因此,当我从组合框中选择 1 时,应显示 1 个面板,当我从组合框中选择 2 时,应显示 2 个相同的面板,依此类推。请任何人帮助我。
I have some controls RadioButton,CheckBoxGroup and TextBoxes.I want to add these controls in this Dynamic Panel . And I have a Combo Box which have values 1,2,3,4,5,6. So when i select 1 from Combobox, 1 panel should display , when i select 2 from Combo box , 2 same panels should display an so on. Please help me anybody.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您引用 DataSprings 的动态表单模块,则可以使用“问题事件”创建预期的行为。您首先要进入要隐藏的每个“面板”,然后单击“隐藏问题直到问题事件强制可见”复选框。然后,转到“问题事件”页面,为每个组合框值设置一个事件,并将每个事件设置为显示相应的“面板”。 此处提供了多个演示。
If you are referring to the Dynamic Forms module by DataSprings, you can create the intended behaviour by using "Question Events". You would first go into each "panel" you want to hide and click the "Hide question until forced visible by question event" checkbox. Then, go to the Question Events page and set up one event for each combobox value, with each one set to display the appropriate "panel". Several demonstrations are available here.