var SubmissionResources = { }; var OnChangeHandler = { }; var Actions = { A0: function(recordGuid) { $.each(Actions.GetRecordArgs({name: 'gwcmc_cites_scientificCommonNameOther', parentName: 'req_gwcmc_quotaRequestList', guid: recordGuid}), function(index, recordArgs) { var tmp = (Actions.GetValueOrDefaultOf('gwcmc_cites_wildlifeCategory', 'Enumeration', recordArgs) == 'other'); Actions.SetVisible('gwcmc_cites_scientificCommonNameOther', tmp, recordArgs); }); }, A1: function(recordGuid) { $.each(Actions.GetRecordArgs({name: 'gwcmc_cites_scientificCommonName', parentName: 'req_gwcmc_quotaRequestList', guid: recordGuid}), function(index, recordArgs) { var tmp = !((Actions.GetValueOrDefaultOf('gwcmc_cites_wildlifeCategory', 'Enumeration', recordArgs) == 'other')); Actions.SetVisible('gwcmc_cites_scientificCommonName', tmp, recordArgs); }); }}; var ActionNames = ['A1','A0']; var GlobalActionNames = []; var ListActionNames = { 'req_gwcmc_quotaRequestList': ['A1','A0'], }; var Dependencies = { "req_gwcmc_quotaRequestList": { "Dependencies": [], "gwcmc_cites_wildlifeCategory": { "Internal": [Actions.A1,Actions.A0] } } }; var submitScriptData = { SaveUrl: '/SelfService/submission/save/Quota_Request', SaveUploadUrl: '/SelfService/submission/saveupload/Quota_Request', RemoveUploadUrl: '/SelfService/submission/removeupload/Quota_Request', NewRecordInputUrl: '/SelfService/submission/NewRecordInput/Quota_Request', WebActionUrl: '/SelfService/webaction/execute/Quota_Request', AutoCompleteUrl: '/SelfService/autocomplete/execute/Quota_Request', UICultureString: 'en-GB', LocaleString: 'en-GB', LocaleDateFormat: 'DD/MM/YYYY', 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: 10000, MapBoundaries: { North: '0', South: '0', East: '0', West: '0' }, ContactProperties: [ ] , SaveDraftDataInterval: 10000, ReplyKey: '' }