var SubmissionResources = { }; var OnChangeHandler = { }; var Actions = { A0: function(recordGuid) { var tmp = Actions.GetValueOrDefaultOf('nap_onBehalfOfOther', 'Bool'); Actions.SetVisible('nap_contactperson', tmp); }, A1: function(recordGuid) { var tmp = Actions.GetValueOrDefaultOf('nap_onBehalfOfOther', 'Bool'); Actions.SetVisible('nap_contactpersonEmail', tmp); }, A2: function(recordGuid) { var tmp = Actions.GetValueOrDefaultOf('nap_onBehalfOfOther', 'Bool'); Actions.SetVisible('nap_contactpersonPhone', tmp); }, A3: function(recordGuid) { var tmp = true; Actions.SetReadOnly('nap_areaName', tmp); }, A4: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('nap_generel', 'Bool')); Actions.SetVisible('nap_areaName', tmp); }, A5: function(recordGuid) { var tmp = true; Actions.SetReadOnly('nap_areaNumber', tmp); }, A6: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('nap_generel', 'Bool')); Actions.SetVisible('nap_areaNumber', tmp); }, A7: function(recordGuid) { var tmp = Actions.GetValueOrDefaultOf('nap_onBehalfOfOther', 'Bool'); Actions.SetVisible('76294f28-b9e4-451e-9219-bce93b492b42', tmp); }, A8: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('nap_generel', 'Bool')); Actions.SetVisible('ec6064c0-e4b3-455d-8a9d-45854c7f02e7', tmp); }, A9: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('nap_generel', 'Bool')); Actions.SetVisible('a214b8c9-87d4-4af7-84c6-56cd7f0241bd', tmp); }, A10: function(recordGuid) { var tmp = !(Actions.GetValueOrDefaultOf('nap_generel', 'Bool')); Actions.SetVisible('a580fba6-41e1-482d-988b-8fc1ce3307e1', tmp); }}; var ActionNames = ['A10','A9','A8','A7','A6','A5','A4','A3','A2','A1','A0']; var GlobalActionNames = ['A10','A9','A8','A7','A6','A5','A4','A3','A2','A1','A0']; var ListActionNames = { }; var Dependencies = { "nap_onBehalfOfOther": { "Dependencies": [Actions.A7,Actions.A2,Actions.A1,Actions.A0] }, "nap_generel": { "Dependencies": [Actions.A10,Actions.A9,Actions.A8,Actions.A6,Actions.A4] } }; var submitScriptData = { SaveUrl: '/SelfService/submission/save/nap', SaveUploadUrl: '/SelfService/submission/saveupload/nap', RemoveUploadUrl: '/SelfService/submission/removeupload/nap', NewRecordInputUrl: '/SelfService/submission/NewRecordInput/nap', WebActionUrl: '/SelfService/webaction/execute/nap', AutoCompleteUrl: '/SelfService/autocomplete/execute/nap', UICultureString: 'da-DK', LocaleString: 'da-DK', WeekNumberCulture: 'da-DK', LocaleDecimalSeparator: ',', LocaleThousandSeparator: '.', ClientValidationEnabled: true, IntFormat: { NumberOfDecimals: 0, FixedDecimals: true, ThousandGroupingEnabled: false }, DecimalFormat: { NumberOfDecimals: 2, FixedDecimals: true, ThousandGroupingEnabled: true }, DoubleFormat: { NumberOfDecimals: 4, FixedDecimals: false, ThousandGroupingEnabled: false }, MaxUploadSize: 250000, MapBoundaries: { North: '0', South: '0', East: '0', West: '0' }, ContactProperties: [ ] , SaveDraftDataInterval: 10000, ReplyKey: '', DatePicker: { MomentFormat: 'DD-MM-YYYY', JqueryFormat: 'dd-mm-yy', FirstDay: 1, IsRightToLeft: false, ShowMonthAfterYear: false, DatePickerImage: '/SelfService/Themes/v2/Images/svg-icons/insert-invitation.svg', } }