Git Product home page Git Product logo

iformbuilder-pdf-generator's People

Contributors

truth3 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

iformbuilder-pdf-generator's Issues

Add an interface

It is a little bit of a mission wen trying to configure more than 3 forms and date ranges, so a simple interface would be great. Honestly that's the only part that's a little time consuming.

Name files according to some data found within the records.

Right now the PDF files which are saved are named according to the record ID. It will be useful to allow people to download the file with the name based on some data.

Site name and date time could be quite helpful for any inspection based form where a site will have many inspections over time.

Avoid file name collision when using record data for name

If you want to use anything over than the record ID for file names, you run the risk of overwriting files if any of the data is the same.

Consider adding a check to see if the name parameter contains anything other than "id" use a different naming convention which includes ID somewhere in the name to keep everything unique.

Allow a subform value to be used for file name

Currently the setup only considers a field value on the parent name which can be used to create the file name. The value may sometimes exist on a subform, so there should be a way to specify that.

Deal with special characters in the form label when making directories

Currently if there are special characters in the form label the directory might not get created. We should try to handle these characters better, and at worst fall back to use the table name since it will be database friendly and won't have any trouble being used to name a directory.

screen shot 2019-01-30 at 4 47 29 pm

Expand the scope of $server variable

Currently this only handles the subdomain of a production iFormBuilder account, and it would be better if different environments can be defined in the keys file.

Existing variable format: apple

Proposed variable format: apple.iformbuilder.com or apple.zerionsandbox.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.