smartwizard 4 中的所有步骤

Abh*_*rya 3 php jquery smart-wizard

我在我的应用程序的表单中包含了 smartwizard,在插入过程中它运行良好。但是,在更新期间,我想显示访问过的所有步骤,以便用户无需单击下一步按钮,而是可以直接进入他/她想要的选项卡。我怎样才能做到这一点?我知道我可能需要在主 js 文件中的_setEvents函数中进行更改,即 jquery.smartWizard.min.js,但我似乎无法弄清楚..

Abh*_*rya 5

在 anchorSettings 中找到了答案。您添加 anchorSettings 参数并按如下方式更改值,

anchorClickable         :   true, // Enable/Disable anchor navigation
        enableAllAnchors        :   true, // Activates all anchors clickable all times
        markDoneStep            :   true, // add done css
        enableAnchorOnDoneStep  :   true // Enable/Disable the done steps navigation
Run Code Online (Sandbox Code Playgroud)