'
[tag:hide:2:Форма может работать только со включенным js!] 
	
[/tag:hide] '
);
$demo = array(
	'alias' => 'jqval_cap',
	'title' => 'Демо форма с jQuery Validation Plugin и reCAPTCHA v3',
	'mail_set' => array(
		'from_name' => '',
		'from_email' => '',
		'subject_tpl' => '[tag:fld:subject]',
		'receivers' => array(
			array(
				'email' => '',
				'name'	=> ''
			)
		),
		'format' => 'text',
	),
	'rubheader' => '
',
	'form_tpl' => $form_tpl[$_REQUEST['demo']],
	'mail_tpl' => '[tag:easymail]',
	'finish_tpl' => '
',
	'code_onsubmit' => '',
	'code_onvalidate' => '',
	'code_onsend' => '',
	'fields' => array(
		1 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'email',
			'active' => 1,
			'type' => 'input',
			'main' => 1,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="fld[[tag:id]]" class="form-control" placeholder="[tag:title]"',
			'tpl' => ''
		),
		2 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'subject',
			'active' => 1,
			'type' => 'input',
			'main' => 1,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="fld[[tag:id]]" class="form-control" placeholder="[tag:title]"',
			'tpl' => ''
		),
		3 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'receivers',
			'active' => 0,
			'type' => 'select',
			'main' => 1,
			'setting' => '',
			'required' => 0,
			'defaultval' => 0,
			'attributes' => '',
			'tpl' => ''
		),
		4 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'copy',
			'active' => 0,
			'type' => 'checkbox',
			'main' => 1,
			'setting' => '',
			'required' => 0,
			'defaultval' => 1,
			'attributes' => '',
			'tpl' => ''
		),
		5 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'captcha',
			'active' => 0,
			'type' => 'input',
			'main' => 1,
			'setting' => '',
			'required' => 1,
			'defaultval' => '',
			'attributes' => '',
			'tpl' => ''
		),
		6 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'Никнейм',
			'active' => 1,
			'type' => 'input',
			'main' => 0,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="fld[[tag:id]]" class="form-control" placeholder="[tag:title]"',
			'tpl' => ''
		),
		7 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'Текст сообщения',
			'active' => 1,
			'type' => 'textarea',
			'main' => 0,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="fld[[tag:id]]" class="form-control" placeholder="[tag:title]"',
			'tpl' => ''
		),
		8 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'Работа чекбокса',
			'active' => 1,
			'type' => 'checkbox',
			'main' => 0,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="fld[[tag:id]]" value="agree"',
			'tpl' => ''
		),
		9 => array(
			'new' => true,
			'form_id' => $fid,
			'title' => 'Оценка отправителя формы сервисом reCAPTCHA',
			'active' => 1,
			'type' => 'input',
			'main' => 0,
			'setting' => '',
			'required' => 0,
			'defaultval' => '',
			'attributes' => 'id="hidden_fld_[tag:formalias]" type="hidden"',
			'tpl' => '[tag:fld]'
		)
	)
);