2015-06-29 22:51:29 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('forms').service('FormFields', [
|
|
|
|
function() {
|
|
|
|
this.fields = [
|
|
|
|
{
|
|
|
|
name : 'textfield',
|
2015-07-03 23:47:14 +00:00
|
|
|
value : 'Short Text'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'email',
|
2015-07-04 03:25:25 +00:00
|
|
|
value : 'Email'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'radio',
|
2015-07-04 03:25:25 +00:00
|
|
|
value : 'Multiple Choice'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'dropdown',
|
|
|
|
value : 'Dropdown List'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'date',
|
|
|
|
value : 'Date'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'textarea',
|
2015-07-03 23:47:14 +00:00
|
|
|
value : 'Long Text'
|
2015-06-29 22:51:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'checkbox',
|
|
|
|
value : 'Checkbox'
|
|
|
|
},
|
2015-07-04 03:25:25 +00:00
|
|
|
{
|
|
|
|
name : 'legal',
|
|
|
|
value : 'Legal'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'file',
|
|
|
|
value : 'File Upload'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'rating',
|
|
|
|
value : 'Rating'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'link',
|
|
|
|
value : 'Link'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'scale',
|
|
|
|
value : 'Opinion Scale'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name : 'stripe',
|
|
|
|
value : 'Payment'
|
|
|
|
},
|
2015-06-29 22:51:29 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
]);
|