代码之家  ›  专栏  ›  技术社区  ›  Code Guy

类型要从资源数据中筛选的io相关下拉列表

  •  0
  • Code Guy  · 技术社区  · 3 年前

    我有一个表格,我需要从下拉列表1中选择状态 这些值是从表单中加载的。io资源数据库(社区数据库)

    在选择state下拉列表时,我需要获取属于上述state dropdwn selected值的社区名称

    我的(社区数据库)看起来像 image.png

    “我的状态”下拉列表应显示“状态”列中的所有状态 我的第二个下拉列表应该从以前选择的州获取数据,并且只显示相关的社区名称

    我试过使用

    “我的州数据”选项卡显示 image.png

    “我的社区数据”选项卡显示 image.png

    我的嵌入表单在这里

    <script type="text/javascript">(function a(d, w, u) {var h = d.getElementsByTagName("head")[0];var s = d.createElement("script");s.type = "text/javascript";s.src = "https://portal.form.io/lib/seamless/seamless.parent.min.js";s.onload = function b() {var f = d.getElementById("formio-form-61c559f42d1ebb5cb0058b57");if (!f || (typeof w.seamless === u)) {return setTimeout(b, 100);}w.seamless(f, {fallback:false}).receive(function(d, e) {});};h.appendChild(s);})(document, window);</script><iframe id="formio-form-61c559f42d1ebb5cb0058b57" style="width:100%;border:none;" height="600px" src="https://formview.io/#/bnbozlaqqvhvxka/form1?iframe=1&header=0"></iframe>
    0 回复  |  直到 3 年前