Flexible, Internationalizable, Meta-data-driven, Angular-based Forms for Meteor.
- Install Meteor
curl https://install.meteor.com | /bin/sh
- Install Meteorite
npm install -g meteorite
- Create a new meteor app using
meteor create myapp
or navigate to the root of your existing app. - Install meteor-forms
mrt add meteor-forms
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>