Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
Data coming in options: { fields: { fieldName: helper: "test" } };
Data coming out with api method Alpaca.fieldInstances[fieldId].options. => { helpers: ["test"] }
So, when I use JSON to create the form I am adding a HELPER property to the field's options, but when I get the field options using Alpaca.fieldinstances[field].options it comes out with a completely different data pattern.
Is there another way to get the data for a field input's options other than Alpaca.fieldinstances[field].options?
Data coming in
options: { fields: { fieldName: helper: "test" } };
Data coming out with api method Alpaca.fieldInstances[fieldId].options. =>
{ helpers: ["test"] }
So, when I use JSON to create the form I am adding a HELPER property to the field's options, but when I get the field options using Alpaca.fieldinstances[field].options it comes out with a completely different data pattern.
Is there another way to get the data for a field input's options other than Alpaca.fieldinstances[field].options?