GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - spieIbug/form-export

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
jquery.form-export.js
jquery.form-export.js
 
 
package.json
package.json
 
 

Repository files navigation

forms export as csv or json

Is a jquery plugin that allows you to incude a button export as the format you want for your form data, strcture or both.

How to use ?

to export a JSON

  • format : format parameter can take 'json' or 'csv' as values
  • link : optionnal. Is an object that allows you to customize your link content and style
  • exports : optionnal can take 'data', 'structure' or 'both' value
  • container : optionnal. can be used to place link to the end of the specified container
<script src="/form-export/jquery.form-export.js"></script>
$('yourFormSelector').exportForm({
    format: 'json',
    link : {
        content : "json",
        style : "btn btn-primary"
    },
    exports : 'data',
    container : 'yourLinkContainer'``
})

to export a CSV

  • format : format parameter can take 'json' or 'csv' as values
  • separator : default ','; example '|'
  • link : optionnal. Is an object that allows you to customize your link content and style
  • exports : optionnal can take 'data', 'structure' or 'both' value
  • container : optionnal. can be used to place link to the end of the specified container
$('yourFormSelector').exportForm({
    format: 'csv',
    link : {
        content : "csv",
        style : "btn btn-primary"
    },
    exports : "structure",
    container : "body"

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.