Skip to content

jeremytowne/meteor-forms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Forms

Flexible, Internationalizable, Meta-data-driven, Angular-based Forms for Meteor.

Quick start

  1. Install Meteor curl https://install.meteor.com | /bin/sh
  2. Install Meteorite npm install -g meteorite
  3. Create a new meteor app using meteor create myapp or navigate to the root of your existing app.
  4. Install meteor-forms mrt add meteor-forms

Usage

Table of Contents

Advanced Use

If you would like to take more direct control over the content and presentation of your flexiform, you can manually lay out your form as in the following example:

<sgi-field-group name="Name">
    <sgi-field data-id="person.name.firstName"></sgi-field>
    <sgi-field data-id="person.name.lastName"></sgi-field>
    <sgi-field data-id="person.birthdate"></sgi-field>
    <sgi-field data-id="person.blahdate"></sgi-field>
    <sgi-field data-id="person.age"></sgi-field>
    <sgi-field data-id="person.livedAbroad"></sgi-field>

    <sgi-field data-id="person.hair"></sgi-field>
    <sgi-field data-id="person.gender" ></sgi-field>
    <sgi-field data-id="person.smoker"></sgi-field>
</sgi-field-group>
<sgi-field-group name="Address">
    <sgi-field data-id="person.address.street1"></sgi-field>
    <sgi-field data-id="person.address.street2"></sgi-field>
</sgi-field-group>

About

Internationalizable, meta-data-driven, angular-based forms for meteor.

Resources

Stars

Watchers

Forks

Packages

No packages published