dbarjs
5/11/2016 - 2:31 PM

may 11 trasncript

{
	post_meta: {},
	post_files: {},
	isValid: false
}

add post_app {

	meta: {
		meta_fields: [

			{
				name: 'name',
				value: 'string',
				default: ''
			},
			{
				name: 'email',
				value: 'email',
				default: ''
			},
			{
				name: 'gender',
				value: 'char',
				default: ''
			},
			{
				name: 'age',
				value: 'number',
				default: 0
			}

		]
	},
	files: [
		{
			name: 'curriculo',
			max_size: 1000,
			type: 'img/jpg',
			isRequired: ''
		}
	],

	email: {
		to: [, '@..'],
		cc: [, '@..'],
		cco: [, '@..']
	}

}

post_app_id: 'aajsdfposijdfp2j3iorj2394q293'

<form action="/api/" data-post-id="aajsdfposijdfp2j3iorj2394q293" method="POST">

	<input type="email" name="email" />

</form>