使一个输入控件影响第二个输入控件的选择 [英] Making one input control affect the choices of a second input control

查看:46
本文介绍了使一个输入控件影响第二个输入控件的选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ireport,我知道如何进行输入控件,但是我有一个问题,我想知道它是可行的.我想有两个输入控件,但我只需要用用户选择的第一个输入控件来填充其中的一个即可.

Using ireport I know how to make input controls but I have one issue that I wonder is do-able. I would like to have two input controls but I need one of them to be filled only by whatever the user picks for the first input control.

例如,我的第一个输入控件具有3个类别,根据从第一个输入控件中选择的内容,在这3个类别中,某些选择将需要显示在第二个输入控件的下拉框中.

For instance, my first input control has 3 categories, from those 3 categories certain choices will need to show up in the 2nd input control's drop-down box according to whatever was chosen from the first input control.

相对于第一个输入控件中的选择,是否可以将选择填充到第二个输入控件中?

Is it possible to have the choices be filled to the second input control in relation to what was chosen in the first?

推荐答案

是的.您可以在JasperForge上阅读有关级联输入控件的信息.

Yes, it is. You can read about cascading input controls at JasperForge.

这篇关于使一个输入控件影响第二个输入控件的选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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