| | |
| | | content.ipAdress = $scope.vm.form.ipAdress; |
| | | content.email = $scope.vm.form.email; |
| | | content.site = $scope.vm.form.site; |
| | | content.tel =$scope.vm.form.tel; |
| | | content.tel = $scope.vm.form.tel; |
| | | content.requiredData = $scope.vm.form.requiredData; |
| | | |
| | | if ($scope.vm.form.customFieldType === 'MULTI_SELECT'|| $scope.vm.form.customFieldType === "SINGLE_SELECT") { |
| | | var convertDefaultValues = ""; |
| | |
| | | $scope.vm.form.customFieldType = result.data.data.customFieldType; |
| | | $scope.vm.form.defaultValue = result.data.data.defaultValue; |
| | | $scope.vm.form.useCustomFieldValue = result.data.data.useCustomFieldValue; |
| | | $scope.vm.form.requiredData = result.data.data.requiredData; |
| | | |
| | | if(result.data.data.requiredData === "Y"){ |
| | | $scope.vm.form.requiredData = true; |
| | | } else { |
| | | $scope.vm.form.requiredData = false; |
| | | } |
| | | |
| | | angular.forEach(result.data.data.customFieldValueVos, function (customFieldValueVo) { |
| | | $scope.vm.form.options.push(customFieldValueVo.value); |