首页 > 解决方案 > How can I integrate formBuilder jquery plugin in my MVC project?

问题描述

Requirement to implement this: I want to add a feature in my page where end user can create a custom form based on his requirement and can save it as a form-profile.

When adding data he should be able to select the form-profile and based on that input fields will be rendered.

Question: All I can see is some npm install and npm run stuff in documentation. I want to include this plugin in my MVC project. How can I do that ? sorry if it sounds silly but I am not a NPM guy so not aware of how that works.

The plugin is : https://github.com/kevinchappell/formBuilder

标签: jquerynpmmodel-view-controllernugetformbuilder

解决方案


在搜索了一天后,我发现了这个codepen formbuilder 演示,它只使用基本的 js 文件和引导文件,展示了这个插件的基本用法。我能够使用简单的 html 页面创建 POC。

对于日复一日地在 Node.js 上工作的人来说,这可能是一件容易理解的事情,但我认为它会对面临类似问题的人有所帮助。

[codepen formbuilder demo][1]

推荐阅读