【问题标题】:How to display the options selected in previous steps of smart wizard如何显示在智能向导前面步骤中选择的选项
【发布时间】:2018-08-21 06:27:21
【问题描述】:

我正在为我的项目开发用户界面。我正在使用http://techlaboratory.net/smartwizard提供的智能向导

我正在使用 smartwizard 的示例目录中的 smartwizard-modal.html

智能向导模式有 4 个步骤。

我在第 1 步和第 2 步中添加了 4 个多选复选框。

假设用户在步骤 1 中选择了几个选项,在步骤 2 中选择了几个选项,一旦用户在步骤 2 中单击下一步按钮,我如何在步骤 3 中显示这些选择的选项?

【问题讨论】:

标签: html bootstrap-4 smart-wizard


【解决方案1】:

在每个步骤中,您都可以访问其他步骤中的输入,在 smartWizard 中,您应该使用事件 showStep(stepNo) 并在其函数中获取 checkboxex 的值并将此值用于所需的输入或文本字段

【讨论】:

  • 感谢 Alireza。我会检查并接受你的回答。
【解决方案2】:

我使用简单的 JS 函数来显示 Step-3 中的选项

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-31
    相关资源
    最近更新 更多