Giter Site home page Giter Site logo

Formgram

Use this set of web services to create forms and form fields in a free database then display the form and save information typed into those fields back into the free database.

This is the initial release of Formgram to help others tap into a shared cloud of existing forms.

This is done using web services to be cross-platform so any technology stack (such as Android, javascript, iOS, even desktop, etc.) can take advantage of this.

int multipageFormGroupInstanceId = [self AddFormInstance:18 myUsername:@"guest"];

NSString *urlWithFormIds = [NSString stringWithFormat:@"http://formgram5.azurewebsites.net/m/openform.aspx?multipage_form_id=%d&navigation=0&multipage_form_group_instance_id=%d&username=guest", 18, multipageFormGroupInstanceId];

NSURL *url = [NSURL URLWithString:urlWithFormIds];

NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url];

[self.formgramWebView loadRequest:urlRequest];

The number 18 is the identifier for an example appointment form.

Select the form you want to use

Change this number to any other identifier to show a different form.

You can see the list of all the currently available forms at http://formgram5.azurewebsites.net/m/Forms.aspx?formListEnum=1&username=guest

Select "Fill-out" next to a form to see what that form looks like.

Once you find the form you'd like to use, get the multipage_form_id of that form from the address bar in your browser. For example, multipage_form_id of this example Appointment form at http://formgram5.azurewebsites.net/m/OpenForm.aspx?multipage_form_id=18&username=guest is 18.

Update that multipage_form_id in this Formgram Example XCode then build and run.

You'll see an example appointment form show up and your users will be able to fill out this sample form.

Anyone can fill out the form now

You can type anything in this form, choose from the drop down lists, etc.

For anyone else to fill out this same form, just send them the link (in urlWithFormIds).

Save the form

select the save button at the bottom of the form.

Ignore the error message that shows up saying "Server Error in '/m' Application. Object reference not set to an instance of an object..."

This secuirty error is showing up since the user has not registered on formgram.com and is trying to login as guest. This is ok since we're using a generic guest account. The information typed into the form "is" saved however. So you can see what saved by going to the URL in urlWithFormIds.

From any device, anywhere, anytime, check out what you and others have filled out in the form

To see what your user has filled out in this form, go to the URL that's composed in XCode in the NSString urlWithFormIds.

Alternatively, you can use any computer/mobile device to go to http://formgram5.azurewebsites.net/m/report.aspx?form_version_id=66&username=guest to see all the entries that users entered into this form.

Upcoming Releases

In the next release, you'll be able to create your own forms and other apps/people can use your new forms too.

In the meantime, fell free to email me at [email protected] with an example of a form you'd like created and I'll create it for you to use.

Formgram's Projects

former icon former

Create forms and form fields in a free database then render them on the page and save information typed into those fields back into the free database

formgram icon formgram

Create forms and form fields in a free database then render them on the page and save information typed into those fields back into the free database.

webwrapper icon webwrapper

A simple iOS app shell that is designed to wrap multiple mobile web sites. There is a slide-out menu with links for navigating between each website. It can also be configured to cache the contents of each website for offline viewing.

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.