$('#tableName').val();
	str = '<label for="' + tableField + '">' + labelName + '</label>';
	if($('#formType').val() == 'edit'){
		switch(fieldType){
		case 'text':
			str += '<input type="text" class="form-control" id="' + tableField + '" name="' + tableField + '" value="{$' + tableName + "['" + tableField + "']}\" />";
			break;
		case 'textarea':
			str += '<textarea class="form-control" row="12" id="' + tableField + '" name="' + tableField + '" >{$' + tableName + "['" + tableField + "']}\"</texta