{"id":16055793,"url":"https://github.com/varunsridharan/vsformbuilder","last_synced_at":"2025-04-05T08:14:18.389Z","repository":{"id":80544379,"uuid":"100594201","full_name":"varunsridharan/VSFormBuilder","owner":"varunsridharan","description":"A Simple \u0026 Lightweight JS Library To Build HTML Forms","archived":false,"fork":false,"pushed_at":"2018-12-21T02:06:40.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T15:50:37.769Z","etag":null,"topics":["datetime","form-builder","form-framework","html-form","html-form-builder","html-forms","html-tags","javascript","javascript-form","javascript-form-builder","javascript-forms","javascript-framework","javascript-library","js-form-builder","radio"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varunsridharan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["varunsridharan"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"custom":["https://paypal.me/varunsridharan23","https://www.buymeacoffee.com/varunsridharan"]}},"created_at":"2017-08-17T11:01:58.000Z","updated_at":"2019-01-08T05:49:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8f329f6-8742-4d11-9b55-d7f3728c6267","html_url":"https://github.com/varunsridharan/VSFormBuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2FVSFormBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2FVSFormBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2FVSFormBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2FVSFormBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunsridharan","download_url":"https://codeload.github.com/varunsridharan/VSFormBuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305947,"owners_count":20917208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datetime","form-builder","form-framework","html-form","html-form-builder","html-forms","html-tags","javascript","javascript-form","javascript-form-builder","javascript-forms","javascript-framework","javascript-library","js-form-builder","radio"],"created_at":"2024-10-09T02:22:13.567Z","updated_at":"2025-04-05T08:14:18.360Z","avatar_url":"https://github.com/varunsridharan.png","language":"JavaScript","readme":"# VSFormBuilder\nVSFormBuilder is a simple and light weight javascript libarary used to create html forms on the go.\n\n| File | Size |\n| ------ | ------ |\n| [VSFormBuilder.js] [VSFBJS] | 28kb |\n| [VSFormBuilder.min.js] [VSFBMJS] | 13kb |\n\n### Installation\n\u003e This Libarray Requires ***jQuery***\n\n***Production Env***\n```HTML\n\u003cscript src=\"https://raw.githubusercontent.com/technofreaky/VSFormBuilder/master/vsformbuilder.min.js\"\u003e\u003c/script\u003e\n```\n\n***Development Env***\n```HTML\n\u003cscript src=\"https://raw.githubusercontent.com/technofreaky/VSFormBuilder/master/vsformbuilder.js\"\u003e\u003c/script\u003e\n```\n\n\n# Features!\n \n#### Supported Tags\nVSFormBuilder Currently Support below listed html Tags for generating forms.\n#### HTML Tags\n\u003e **form**\n**fieldset**\n**label** \n**p** - Used For Field Wrap\n**span** - Used For Field Help Text\n\n#### Input Types\n\u003e **textarea** , **text**,  **password**, **search**, **email**, **url**, **tel**, **number**, **range**, **date** ,**month**, **week**, **time**, **datetime**, **datetime_local**, **color**, **file**, **radio**, **checkbox**, **select**\n\n\n### Usage\nThe below code will use **VSFormBuilder** and generate 2 textfields and radio field with 3 options.\n```javascript\njQuery(document).ready(function(){\n    var VSFB = new VSFormBuilder();\n    var textfield = VSFB.text({ name : 'my_textfield', value:\"MY Value\"});\n    jQuery('body').append(textfield);\n    VSFB.add('form_start',{class: \"\",action:\"\"});\n    VSFB.add(\"text\",{name : 'text_2', value:\"MY Value\" , id:\"MYTEXTFIELD\"});\n    VSFB.add(\"radio\",{name : 'text_2', options:{option1 : \"Option 1\",option2 : \"Option 2\",option3: \"Option 3\"} , id:\"MYTEXTFIELD\"});\n    VSFB.add('form_end');\n    jQuery('body').append(VSFB.generate());\n})\n```\n\n\n\nLicense\n----\n\nMIT\n\n   [VSFBJS]: \u003chttps://raw.githubusercontent.com/technofreaky/VSFormBuilder/master/vsformbuilder.js\u003e\n   [VSFBMJS]: \u003chttps://raw.githubusercontent.com/technofreaky/VSFormBuilder/master/vsformbuilder.min.js\u003e\n\n\n---\n## Sponsored By\n[![DigitalOcean](https://vsp.ams3.cdn.digitaloceanspaces.com/cdn/DO_Logo_Horizontal_Blue.png)](https://s.svarun.in/Ef)\n","funding_links":["https://github.com/sponsors/varunsridharan","https://paypal.me/varunsridharan23","https://www.buymeacoffee.com/varunsridharan"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fvsformbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunsridharan%2Fvsformbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fvsformbuilder/lists"}