-
30 Sep 2010 7:11 AM #1Ext JS Premium Member
- Join Date
- Apr 2010
- Location
- Charlotte, North Carolina, USA
- Posts
- 156
- Vote Rating
- 0
[CLOSED]MSIE error 3.3.0-RC
[CLOSED]MSIE error 3.3.0-RC
Ext version tested:
- Ext 3.3 rev 0-rc
Adapter used:- ext
[]yui
[]jquery
[]prototype
css used:- only default ext-all.css
[]custom css (include details)
Browser versions tested against:- IE6
- IE8
- FF3 (firebug 1.3.0.10 installed)
- Safari 4
- Opera 10.62
- Chrome
Operating System:- OS X 1.6
- WinXP Pro
Description:- ONLY MSIE reports this error: row 25482, line 17, error: 'undefined' is null or not an object, code: 0.
- All other browsers and O/S variations tested without errors.
- Tests clean on Firefox with Firebug running
Test Case:
See this URL : http://Code:<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="PavukIDF 2.0" /> <title>People Master</title> <link rel="stylesheet" type="text/css" media="all" href="https://linux.pavuk.com/ext/resources/css/ext-all.css"/> <link rel="stylesheet" type="text/css" media="all" href="https://linux.pavuk.com/ext/examples/ux/css/ux-all.css"/> <link rel="stylesheet" type="text/css" media="all" href="https://linux.pavuk.com/css/pavuk.css"/> <script src="https://linux.pavuk.com/ext/adapter/ext/ext-base.js" type="text/javascript"></script> <script src="https://linux.pavuk.com/ext/ext-all-debug.js" type="text/javascript"></script> <script src="https://linux.pavuk.com/ext/examples/ux/ux-all-debug.js" type="text/javascript"></script><style></style></head><body><script> var store_TITLE = new Ext.data.SimpleStore({ storeId:'store_TITLE' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'',''], [2,'Mr.','Mr.'], [3,'Mrs.','Mrs.'], [4,'Ms.','Ms.'], [5,'Rev.','Rev.'], [6,'Dr.','Dr.'], [7,'Pani','Pani'], [8,'Ing.','Ing.'], [9,'JUDr.','JUDr.'] ] }); var store_006_01 = new Ext.data.SimpleStore({ storeId:'store_006_01' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'',''], [2,'Sr.','Sr.'], [3,'Jr.','Jr.'], [4,'I','I'], [5,'II','II'], [6,'III','III'], [7,'IV','IV'] ] }); var store_011_states = new Ext.data.SimpleStore({ storeId:'store_011_states' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'AK','AK'], [2,'AL','AL'], [3,'AR','AR'], [4,'AS','AS'], [5,'AZ','AZ'], [6,'CA','CA'], [7,'CO','CO'], [8,'CT','CT'], [9,'DC','DC'], [10,'DE','DE'], [11,'FC','FC'], [12,'FL','FL'], [13,'FM','FM'], [14,'GA','GA'], [15,'GU','GU'], [16,'HI','HI'], [17,'IA','IA'], [18,'ID','ID'], [19,'IL','IL'], [20,'IN','IN'], [21,'KS','KS'], [22,'KY','KY'], [23,'LA','LA'], [24,'MA','MA'], [25,'MD','MD'], [26,'ME','ME'], [27,'MH','MH'], [28,'MI','MI'], [29,'MN','MN'], [30,'MO','MO'], [31,'MP','MP'], [32,'MS','MS'], [33,'MT','MT'], [34,'NC','NC'], [35,'ND','ND'], [36,'NE','NE'], [37,'NH','NH'], [38,'NJ','NJ'], [39,'NM','NM'], [40,'NV','NV'], [41,'NY','NY'], [42,'OH','OH'], [43,'OK','OK'], [44,'OR','OR'], [45,'PA','PA'], [46,'PR','PR'], [47,'PW','PW'], [48,'RI','RI'], [49,'SC','SC'], [50,'SD','SD'], [51,'TN','TN'], [52,'TX','TX'], [53,'UT','UT'], [54,'VA','VA'], [55,'VI','VI'], [56,'VT','VT'], [57,'WA','WA'], [58,'WI','WI'], [59,'WV','WV'], [60,'WY','WY'] ] }); var store_011_streets = new Ext.data.SimpleStore({ storeId:'store_011_streets' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'St','St'], [2,'Rd','Rd'], [3,'Ave','Ave'], [4,'Ct','Ct'], [5,'Dr','Dr'], [6,'Ln','Ln'], [7,'Pl','Pl'], [8,'Cir','Cir'], [9,'Blvd','Blvd'], [10,'Expy','Expy'], [11,'Hwy','Hwy'], [12,'Fwy','Fwy'] ] }); var store_011_dirs = new Ext.data.SimpleStore({ storeId:'store_011_dirs' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'N','N'], [2,'S','S'], [3,'E','E'], [4,'W','W'] ] }); var store_011_suffix = new Ext.data.SimpleStore({ storeId:'store_011_suffix' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'North','North'], [2,'South','South'], [3,'East','East'], [4,'West','West'], [5,'Ext','Ext'], [6,'Pvt','Pvt'] ] }); var store_021_01 = new Ext.data.SimpleStore({ storeId:'store_021_01' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'',''] ] }); var store_021 = new Ext.data.ArrayStore({ storeId:'store_021' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['value','text'] ,data: [ ['',''] ] }); var store_026_01 = new Ext.data.SimpleStore({ storeId:'store_026_01' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'',''] ] }); var store_022 = new Ext.data.ArrayStore({ storeId:'store_022' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['value','text'] ,data: [ ['',''], ] }); var store_SEX = new Ext.data.SimpleStore({ storeId:'store_SEX' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'Male','Male'], [2,'Female','Female'] ] }); var store_017_01 = new Ext.data.SimpleStore({ storeId:'store_017_01' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [1,'',''], [2,'White','White'], [3,'Black','Black'], [4,'Hispanic','Hispanic'], [5,'Asian','Asian'], [6,'Native American','Native American'], [7,'Pacific Islander','Pacific Islander'], [8,'Other','Other'] ] }); var store_012_states = new Ext.data.SimpleStore({ storeId:'store_012_states' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'AK','AK'], [2,'AL','AL'], [3,'AR','AR'], [4,'AS','AS'], [5,'AZ','AZ'], [6,'CA','CA'], [7,'CO','CO'], [8,'CT','CT'], [9,'DC','DC'], [10,'DE','DE'], [11,'FC','FC'], [12,'FL','FL'], [13,'FM','FM'], [14,'GA','GA'], [15,'GU','GU'], [16,'HI','HI'], [17,'IA','IA'], [18,'ID','ID'], [19,'IL','IL'], [20,'IN','IN'], [21,'KS','KS'], [22,'KY','KY'], [23,'LA','LA'], [24,'MA','MA'], [25,'MD','MD'], [26,'ME','ME'], [27,'MH','MH'], [28,'MI','MI'], [29,'MN','MN'], [30,'MO','MO'], [31,'MP','MP'], [32,'MS','MS'], [33,'MT','MT'], [34,'NC','NC'], [35,'ND','ND'], [36,'NE','NE'], [37,'NH','NH'], [38,'NJ','NJ'], [39,'NM','NM'], [40,'NV','NV'], [41,'NY','NY'], [42,'OH','OH'], [43,'OK','OK'], [44,'OR','OR'], [45,'PA','PA'], [46,'PR','PR'], [47,'PW','PW'], [48,'RI','RI'], [49,'SC','SC'], [50,'SD','SD'], [51,'TN','TN'], [52,'TX','TX'], [53,'UT','UT'], [54,'VA','VA'], [55,'VI','VI'], [56,'VT','VT'], [57,'WA','WA'], [58,'WI','WI'], [59,'WV','WV'], [60,'WY','WY'] ] }); var store_012_streets = new Ext.data.SimpleStore({ storeId:'store_012_streets' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'St','St'], [2,'Rd','Rd'], [3,'Ave','Ave'], [4,'Ct','Ct'], [5,'Dr','Dr'], [6,'Ln','Ln'], [7,'Pl','Pl'], [8,'Cir','Cir'], [9,'Blvd','Blvd'], [10,'Expy','Expy'], [11,'Hwy','Hwy'], [12,'Fwy','Fwy'] ] }); var store_012_dirs = new Ext.data.SimpleStore({ storeId:'store_012_dirs' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'N','N'], [2,'S','S'], [3,'E','E'], [4,'W','W'] ] }); var store_012_suffix = new Ext.data.SimpleStore({ storeId:'store_012_suffix' ,autoDestroy:true ,autoLoad:true ,autoSave:false ,idIndex:0 ,fields: ['record','text','value'] ,data: [ [0,'',''], [1,'North','North'], [2,'South','South'], [3,'East','East'], [4,'West','West'], [5,'Ext','Ext'], [6,'Pvt','Pvt'] ] });Ext.onReady(function(){ Ext.BLANK_IMAGE_URL='https://linux.pavuk.com/ext/docs/resources/s.gif'; Ext.QuickTips.init(); var U_PEOPLE = new Ext.form.FormPanel({ standardSubmit: true ,renderTo: Ext.getBody() ,id:'mainForm' ,formId:'U_PEOPLE' ,method:'POST' ,frame:true ,height:670 ,width:985 ,layout:'form' ,items:[ {xtype:'hidden',id:'htab',name:'htab',value:'tab0'}, {xtype:'panel' ,layout:'absolute' ,id:'recordpanel' ,height:100 ,title:'People Master Pavuk Medical Systems bcrowell' ,deferredRender:false ,defaults:{ layout:'absolute' ,hideMode:'offsets' ,bodyStyle:'padding:5px' } ,items:[ {xtype: 'box' ,id:'pavuk' ,x:945 ,y:0 ,autoEl: {tag: 'img', src: 'https://linux.pavuk.com/icons/pavuk.gif'} }, {xtype:'textfield' ,id:'ikey' ,name:'key' ,x:340,y:5 ,width: 150 ,emptyText:'Record Locator' ,value:'' ,maxLength: 30 ,maxLengthText:'The maximum size is 30 characters' ,focusClass:'pavuk-field-focus' }, {xtype:'button' ,id:'command_0' ,width:85 ,x:500,y:1 ,text:'Get' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/database.png' ,tooltip:'Click me to get a record from the database' ,tooltipType:'title' ,style:'padding:3px' ,disabled:false ,handler: function() { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=get'; U_PEOPLE.getForm().submit(); } }, {id:'api1',xtype:'label',x:600,y:0,text:'Balance: 0.00',cls:'pavuk-label'}, {xtype:'button' ,id:'command_99' ,width:85 ,x:885,y:45 ,text:'Logout' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/user.png' ,tooltip:'Click me to logout.' ,tooltipType:'title' ,style:'padding:3px' ,disabled:false ,handler: function() { Ext.Msg.confirm('Confirmation','Do you wish to logout?', function(btn,text){ if (btn == 'yes'){ U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=logout'; U_PEOPLE.getForm().submit(); } else {} }); } } ] }, {xtype:'tabpanel' ,id:'tabpanel' ,activeTab:0 ,border:true ,height:515 ,deferredRender:false ,layoutOnTabChange:true ,defaults:{ layout:'absolute' ,bodyStyle:'padding:3px' } ,items:[ {title:'Demographics' ,id:'tab0' ,items:[ {id:'l001001',xtype:'label',x:8,y:6,text:'Title',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i001001' ,hiddenName:'d001001' ,x:153 ,y:4 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' ,store: store_TITLE ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {xtype:'hidden',id:'r002001',name:'r002001',value:'REQUIRED'}, {id:'l002001',xtype:'label',x:8,y:30,text:'Name First',style:'color:red;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i002001' ,name:'d002001' ,x:153 ,y:28 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l003001',xtype:'label',x:8,y:54,text:'Middle',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i003001' ,name:'d003001' ,x:153 ,y:52 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'hidden',id:'r005001',name:'r005001',value:'REQUIRED'}, {id:'l005001',xtype:'label',x:8,y:78,text:'Last Name',style:'color:red;',cls:'pavuk-label'}, {id:'l005001ak',xtype:'label',x:145,y:80,text:'>',style:'color:green;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i005001' ,name:'d005001' ,x:153 ,y:76 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l006001',xtype:'label',x:8,y:102,text:'Generation',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i006001' ,hiddenName:'d006001' ,x:153 ,y:100 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' ,store: store_006_01 ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l010001',xtype:'label',x:8,y:126,text:'SSN',style:'',cls:'pavuk-label'}, {id:'l010001ak',xtype:'label',x:145,y:128,text:'>',style:'color:blue;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01000101' ,name:'d01000101' ,x:153 ,y:124 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01000101',xtype:'label',x:185,y:124,text:'-'}, {xtype:'textfield' ,id:'i01000102' ,name:'d01000102' ,x:192 ,y:124 ,width:25 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01000102',xtype:'label',x:218,y:124,text:'-'}, {xtype:'textfield' ,id:'i01000103' ,name:'d01000103' ,x:225 ,y:124 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l011001',xtype:'label',x:8,y:170,text:'Address',style:'',cls:'pavuk-label'}, {id:'l01100109',xtype:'label',x:153,y:148,text:'Number',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01100109' ,name:'d01100109' ,x:153 ,y:168 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01100108',xtype:'label',x:208,y:148,text:'Dir',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01100108' ,hiddenName:'d01100108' ,x:208 ,y:168 ,width:37 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_011_dirs ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01100106',xtype:'label',x:250,y:148,text:'Street Name',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01100106' ,name:'d01100106' ,x:250 ,y:168 ,width:125 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01100107',xtype:'label',x:380,y:148,text:'Type',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01100107' ,hiddenName:'d01100107' ,x:380 ,y:168 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_011_streets ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01100105',xtype:'label',x:435,y:148,text:'Suffix',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01100105' ,hiddenName:'d01100105' ,x:435 ,y:168 ,width:57 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_011_suffix ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01100110',xtype:'label',x:497,y:148,text:'Unit',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01100110' ,name:'d01100110' ,x:497 ,y:168 ,width:35 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01100104',xtype:'label',x:537,y:148,text:'City',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01100104' ,name:'d01100104' ,x:537 ,y:168 ,width:120 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01100103',xtype:'label',x:662,y:148,text:'State',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01100103' ,hiddenName:'d01100103' ,x:662 ,y:168 ,width:43 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_011_states ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01100102',xtype:'label',x:710,y:148,text:'Zip Code',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01100102' ,name:'d01100102' ,x:710 ,y:168 ,width:80 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01100101',xtype:'label',x:795,y:148,text:'Country',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01100101' ,hiddenName:'d01100101' ,x:795 ,y:168 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'United States', 'ux-flag-us'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' }, {xtype:'button' ,id:'i011001map' ,width:25 ,text:'map' ,cls:'pavuk-button' ,x:905 ,y:168 ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { var h1 = document.getElementById('i01100101'); var h2 = document.getElementById('i01100102'); var h3 = document.getElementById('i01100103'); var h4 = document.getElementById('i01100104'); var h5 = document.getElementById('i01100105'); var h6 = document.getElementById('i01100106'); var h7 = document.getElementById('i01100107'); var h8 = document.getElementById('i01100108'); var h9 = document.getElementById('i01100109'); var h10 = document.getElementById('i01100110'); var address = h9.value+' '+h8.value+' '+h6.value+' '+h7.value+', '+h4.value+', '+h3.value+' '+h2.value; Ext.urlEncode(address); window.open('http://maps.google.com?q='+address,'newwindow','width=700, height=500, left=675,top=300'); } }, {id:'l013001',xtype:'label',x:8,y:198,text:'Home',style:'',cls:'pavuk-label'}, {id:'l01300101',xtype:'label',x:153,y:196,text:'+1',cls:'pavuk-label'}, {id:'l0130010201',xtype:'label',x:187,y:196,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01300102' ,name:'d01300102' ,x:193 ,y:196 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0130010202',xtype:'label',x:224,y:196,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01300103' ,name:'d01300103' ,x:232 ,y:196 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01300104',xtype:'label',x:263,y:196,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01300104' ,name:'d01300104' ,x:269 ,y:196 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i01300101' ,hiddenName:'d01300101' ,x:313 ,y:196 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } }, {id:'l015001',xtype:'label',x:8,y:222,text:'Mobile',style:'',cls:'pavuk-label'}, {id:'l01500101',xtype:'label',x:153,y:220,text:'+1',cls:'pavuk-label'}, {id:'l0150010201',xtype:'label',x:187,y:220,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01500102' ,name:'d01500102' ,x:193 ,y:220 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0150010202',xtype:'label',x:224,y:220,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01500103' ,name:'d01500103' ,x:232 ,y:220 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01500104',xtype:'label',x:263,y:220,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01500104' ,name:'d01500104' ,x:269 ,y:220 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i01500101' ,hiddenName:'d01500101' ,x:313 ,y:220 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } }, {id:'l018001',xtype:'label',x:8,y:246,text:'Home Email',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01800101' ,name:'d01800101' ,x:153 ,y:244 ,width:80 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01800101',cls:'pavuk-label',xtype:'label',x:238,y:244,text:'@'}, {xtype:'textfield' ,id:'i01800102' ,name:'d01800102' ,x:258 ,y:244 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l021001',xtype:'label',x:8,y:294,text:'Primary Prov',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i021001' ,hiddenName:'d021001' ,x:153 ,y:292 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' ,store: store_021 ,mode:'local' ,valueField:'value' ,displayField:'text' ,editable:false ,triggerAction:'all' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l026001',xtype:'label',x:8,y:318,text:'Primary Location',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i026001' ,hiddenName:'d026001' ,x:153 ,y:316 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' ,store: store_026_01 ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l022001',xtype:'label',x:8,y:342,text:'Origin Code',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i022001' ,hiddenName:'d022001' ,x:153 ,y:340 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_022 ,mode:'local' ,valueField:'value' ,displayField:'text' ,editable:false ,triggerAction:'all' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l027001',xtype:'label',x:8,y:366,text:'Marital Status',style:'',cls:'pavuk-label'}, {xtype:'hidden',id:'c027001',name:'c027001',value:'CHECK'}, {xtype: 'checkboxgroup' ,id:'i027001' ,x:153 ,y:364 ,name:'test' ,width:500 ,items: [ {boxLabel:'Single',name:'d02700101',inputValue:'Single'}, {boxLabel:'Married',name:'d02700102',inputValue:'Married'}, {boxLabel:'Divorced',name:'d02700103',inputValue:'Divorced'}, {boxLabel:'Widowed',name:'d02700104',inputValue:'Widowed'}, {boxLabel:'Other',name:'d02700105',inputValue:'Other'} ] }, {id:'l028001',xtype:'label',x:8,y:390,text:'Employment',style:'',cls:'pavuk-label'}, {xtype: 'radiogroup' ,id:'i028001' ,x:153 ,y:388 ,width:400 ,items: [ {boxLabel:'Employed',name:'d028001',inputValue:'Employed'}, {boxLabel:'FT Student',name:'d028001',inputValue:'FT Student'}, {boxLabel:'PT Student',name:'d028001',inputValue:'PT Student'}, {boxLabel:'Other',name:'d028001',inputValue:'Other'} ] }, {id:'l004001',xtype:'label',x:485,y:6,text:'Nickname',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i004001' ,name:'d004001' ,x:617 ,y:4 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l008001',xtype:'label',x:485,y:30,text:'Person Birth Date',style:'',cls:'pavuk-label'}, {id:'l008001ak',xtype:'label',x:609,y:32,text:'>',style:'color:purple;',cls:'pavuk-label'}, {xtype:'datefield' ,id:'i008001' ,name:'d008001' ,x:617 ,y:28 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l009001',xtype:'label',x:485,y:54,text:'Sex',style:'',cls:'pavuk-label'}, {xtype: 'radiogroup' ,id:'i009001' ,x:617 ,y:52 ,width:160 ,items: [ {boxLabel:'Male',name:'d009001',inputValue:'Male'}, {boxLabel:'Female',name:'d009001',inputValue:'Female'} ] }, {id:'l019001',xtype:'label',x:485,y:78,text:'Maiden Name',style:'',cls:'pavuk-label'}, {id:'l019001ak',xtype:'label',x:609,y:80,text:'>',style:'color:green;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i019001' ,name:'d019001' ,x:617 ,y:76 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l007001',xtype:'label',x:485,y:102,text:'Credentials',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i007001' ,name:'d007001' ,x:617 ,y:100 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l017001',xtype:'label',x:485,y:126,text:'Race',style:'',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i017001' ,hiddenName:'d017001' ,x:617 ,y:124 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' ,store: store_017_01 ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l014001',xtype:'label',x:485,y:198,text:'Work',style:'',cls:'pavuk-label'}, {id:'l01400101',xtype:'label',x:617,y:196,text:'+1',cls:'pavuk-label'}, {id:'l0140010201',xtype:'label',x:651,y:196,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01400102' ,name:'d01400102' ,x:657 ,y:196 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0140010202',xtype:'label',x:688,y:196,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01400103' ,name:'d01400103' ,x:696 ,y:196 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01400104',xtype:'label',x:727,y:196,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01400104' ,name:'d01400104' ,x:733 ,y:196 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01400105',xtype:'label',x:774,y:199,text:'x',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01400105' ,name:'d01400105' ,x:782 ,y:196 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i01400101' ,hiddenName:'d01400101' ,x:827 ,y:196 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } }, {id:'l016001',xtype:'label',x:485,y:222,text:'Fax',style:'',cls:'pavuk-label'}, {id:'l01600101',xtype:'label',x:617,y:220,text:'+1',cls:'pavuk-label'}, {id:'l0160010201',xtype:'label',x:651,y:220,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01600102' ,name:'d01600102' ,x:657 ,y:220 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0160010202',xtype:'label',x:688,y:220,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01600103' ,name:'d01600103' ,x:696 ,y:220 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01600104',xtype:'label',x:727,y:220,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01600104' ,name:'d01600104' ,x:733 ,y:220 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i01600101' ,hiddenName:'d01600101' ,x:777 ,y:220 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } }, {id:'l020001',xtype:'label',x:485,y:246,text:'Work Email',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i02000101' ,name:'d02000101' ,x:617 ,y:244 ,width:80 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l02000101',cls:'pavuk-label',xtype:'label',x:702,y:244,text:'@'}, {xtype:'textfield' ,id:'i02000102' ,name:'d02000102' ,x:722 ,y:244 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' } ]}, {title:'Page2' ,id:'tab1' ,items:[ {id:'l025001',xtype:'label',x:8,y:6,text:'Guarantor',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i025001' ,name:'d025001' ,x:153 ,y:4 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_251',width:70,x:263,y:4,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0250012';U_PEOPLE.getForm().submit();}}, {id:'l023001',xtype:'label',x:8,y:30,text:'WARNING',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i023001' ,name:'d023001' ,x:153 ,y:28 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l029001',xtype:'label',x:8,y:54,text:'Referring Patient',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i029001' ,name:'d029001' ,x:153 ,y:52 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_291',width:70,x:263,y:52,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0290012';U_PEOPLE.getForm().submit();}}, {id:'l030001',xtype:'label',x:8,y:78,text:'Referring Doctor',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i030001' ,name:'d030001' ,x:153 ,y:76 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_301',width:70,x:263,y:76,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0300012';U_PEOPLE.getForm().submit();}}, {id:'l031001',xtype:'label',x:8,y:102,text:'Chart Number',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i031001' ,name:'d031001' ,x:153 ,y:100 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l012001',xtype:'label',x:8,y:146,text:'Alternate/Physical',style:'',cls:'pavuk-label'}, {id:'l01200109',xtype:'label',x:153,y:124,text:'Number',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01200109' ,name:'d01200109' ,x:153 ,y:144 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01200108',xtype:'label',x:208,y:124,text:'Dir',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01200108' ,hiddenName:'d01200108' ,x:208 ,y:144 ,width:37 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_012_dirs ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01200106',xtype:'label',x:250,y:124,text:'Street Name',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01200106' ,name:'d01200106' ,x:250 ,y:144 ,width:125 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01200107',xtype:'label',x:380,y:124,text:'Type',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01200107' ,hiddenName:'d01200107' ,x:380 ,y:144 ,width:50 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_012_streets ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01200105',xtype:'label',x:435,y:124,text:'Suffix',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01200105' ,hiddenName:'d01200105' ,x:435 ,y:144 ,width:57 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_012_suffix ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01200110',xtype:'label',x:497,y:124,text:'Unit',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01200110' ,name:'d01200110' ,x:497 ,y:144 ,width:35 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01200104',xtype:'label',x:537,y:124,text:'City',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01200104' ,name:'d01200104' ,x:537 ,y:144 ,width:120 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01200103',xtype:'label',x:662,y:124,text:'State',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01200103' ,hiddenName:'d01200103' ,x:662 ,y:144 ,width:43 ,value:'' ,focusClass:'pavuk-field-focus' ,store:store_012_states ,mode:'local' ,valueField:'value' ,displayField:'text' ,tpl: '<tpl for="."><div class="x-combo-list-item">{text:defaultValue(" ")}</div></tpl>' }, {id:'l01200102',xtype:'label',x:710,y:124,text:'Zip Code',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i01200102' ,name:'d01200102' ,x:710 ,y:144 ,width:80 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l01200101',xtype:'label',x:795,y:124,text:'Country',cls:'pavuk-label'}, {xtype:'selectbox' ,id:'i01200101' ,hiddenName:'d01200101' ,x:795 ,y:144 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'United States', 'ux-flag-us'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' }, {xtype:'button' ,id:'i012001map' ,width:25 ,text:'map' ,cls:'pavuk-button' ,x:905 ,y:144 ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { var h1 = document.getElementById('i01200101'); var h2 = document.getElementById('i01200102'); var h3 = document.getElementById('i01200103'); var h4 = document.getElementById('i01200104'); var h5 = document.getElementById('i01200105'); var h6 = document.getElementById('i01200106'); var h7 = document.getElementById('i01200107'); var h8 = document.getElementById('i01200108'); var h9 = document.getElementById('i01200109'); var h10 = document.getElementById('i01200110'); var address = h9.value+' '+h8.value+' '+h6.value+' '+h7.value+', '+h4.value+', '+h3.value+' '+h2.value; Ext.urlEncode(address); window.open('http://maps.google.com?q='+address,'newwindow','width=700, height=500, left=675,top=300'); } }, {id:'l034001',xtype:'label',x:8,y:174,text:'Signature on file',style:'',cls:'pavuk-label'}, {xtype:'datefield' ,id:'i034001' ,name:'d034001' ,x:153 ,y:172 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l035001',xtype:'label',x:8,y:198,text:'HIPAA Date',style:'',cls:'pavuk-label'}, {xtype:'datefield' ,id:'i035001' ,name:'d035001' ,x:153 ,y:196 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l043001',xtype:'label',x:8,y:222,text:'Occupation',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i043001' ,name:'d043001' ,x:153 ,y:220 ,width:150 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_431',width:70,x:313,y:220,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0430012';U_PEOPLE.getForm().submit();}}, {id:'l033001',xtype:'label',x:8,y:246,text:'Notes',style:'',cls:'pavuk-label'}, {xtype:'htmleditor' ,id:'i033001' ,name:'d033001' ,x:153 ,y:244 ,width:600 ,value:'' ,focusClass:'pavuk-field-focus' } ]}, {title:'Emergency' ,id:'tab2' ,items:[ {id:'l036001',xtype:'label',x:8,y:6,text:'Emergency Contact',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i036001' ,name:'d036001' ,x:153 ,y:4 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l037001',xtype:'label',x:8,y:30,text:'Relationship',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i037001' ,name:'d037001' ,x:153 ,y:28 ,width:250 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l038001',xtype:'label',x:8,y:54,text:'Home Phone',style:'',cls:'pavuk-label'}, {id:'l03800101',xtype:'label',x:153,y:52,text:'+1',cls:'pavuk-label'}, {id:'l0380010201',xtype:'label',x:187,y:52,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03800102' ,name:'d03800102' ,x:193 ,y:52 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0380010202',xtype:'label',x:224,y:52,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03800103' ,name:'d03800103' ,x:232 ,y:52 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l03800104',xtype:'label',x:263,y:52,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03800104' ,name:'d03800104' ,x:269 ,y:52 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i03800101' ,hiddenName:'d03800101' ,x:313 ,y:52 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } }, {id:'l039001',xtype:'label',x:8,y:78,text:'Work Phone',style:'',cls:'pavuk-label'}, {id:'l03900101',xtype:'label',x:153,y:76,text:'+1',cls:'pavuk-label'}, {id:'l0390010201',xtype:'label',x:187,y:76,text:'(',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03900102' ,name:'d03900102' ,x:193 ,y:76 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l0390010202',xtype:'label',x:224,y:76,text:')',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03900103' ,name:'d03900103' ,x:232 ,y:76 ,width:30 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l03900104',xtype:'label',x:263,y:76,text:'-',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03900104' ,name:'d03900104' ,x:269 ,y:76 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {id:'l03900105',xtype:'label',x:310,y:79,text:'x',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i03900105' ,name:'d03900105' ,x:318 ,y:76 ,width:40 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'selectbox' ,id:'i03900101' ,hiddenName:'d03900101' ,x:363 ,y:76 ,width:100 ,value:'US' ,focusClass:'pavuk-field-focus' ,store: new Ext.data.SimpleStore({ fields: ['countryCode', 'countryName', 'countryFlag'] ,data: [ ['US', 'USA', 'ux-flag-us'], ['SK', 'Slovakia', 'ux-flag-sk'], ['DE', 'Germany', 'ux-flag-de'], ['FR', 'France', 'ux-flag-fr'] ] }) ,valueField: 'countryCode' ,displayField: 'countryName' ,mode:'local' ,tpl: '<tpl for="."><div class="x-combo-list-item">{countryName:defaultValue(" ")}</div></tpl>' ,listeners: { change: function(e) { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=update'; U_PEOPLE.getForm().submit(); } } } ]}, {title:'Medical' ,id:'tab3' ,items:[ {id:'l040001',xtype:'label',x:8,y:6,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040001v',xtype:'label',x:125,y:7,text:'1',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040001' ,name:'d040001' ,x:153 ,y:4 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_401',width:70,x:263,y:4,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400014';U_PEOPLE.getForm().submit();}}, {id:'l040002',xtype:'label',x:8,y:30,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040002v',xtype:'label',x:125,y:31,text:'2',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040002' ,name:'d040002' ,x:153 ,y:28 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_402',width:70,x:263,y:28,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400024';U_PEOPLE.getForm().submit();}}, {id:'l040003',xtype:'label',x:8,y:54,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040003v',xtype:'label',x:125,y:55,text:'3',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040003' ,name:'d040003' ,x:153 ,y:52 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_403',width:70,x:263,y:52,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400034';U_PEOPLE.getForm().submit();}}, {id:'l040004',xtype:'label',x:8,y:78,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040004v',xtype:'label',x:125,y:79,text:'4',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040004' ,name:'d040004' ,x:153 ,y:76 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_404',width:70,x:263,y:76,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400044';U_PEOPLE.getForm().submit();}}, {id:'l040005',xtype:'label',x:8,y:102,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040005v',xtype:'label',x:125,y:103,text:'5',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040005' ,name:'d040005' ,x:153 ,y:100 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_405',width:70,x:263,y:100,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400054';U_PEOPLE.getForm().submit();}}, {id:'l040006',xtype:'label',x:8,y:126,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040006v',xtype:'label',x:125,y:127,text:'6',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040006' ,name:'d040006' ,x:153 ,y:124 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_406',width:70,x:263,y:124,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400064';U_PEOPLE.getForm().submit();}}, {id:'l040007',xtype:'label',x:8,y:150,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040007v',xtype:'label',x:125,y:151,text:'7',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040007' ,name:'d040007' ,x:153 ,y:148 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_407',width:70,x:263,y:148,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400074';U_PEOPLE.getForm().submit();}}, {id:'l040008',xtype:'label',x:8,y:174,text:'Permanent Diag',style:'',cls:'pavuk-label'}, {id:'l040008v',xtype:'label',x:125,y:175,text:'8',style:'color:teal;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i040008' ,name:'d040008' ,x:153 ,y:172 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_408',width:70,x:263,y:172,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0400084';U_PEOPLE.getForm().submit();}}, {id:'l041001',xtype:'label',x:8,y:222,text:'Pharmacy',style:'',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i041001' ,name:'d041001' ,x:153 ,y:220 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_411',width:70,x:263,y:220,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0410014';U_PEOPLE.getForm().submit();}}, {id:'l042001',xtype:'label',x:8,y:246,text:'Primary Care Prov',style:'',cls:'pavuk-label'}, {id:'l042001ak',xtype:'label',x:145,y:248,text:'>',style:'color:green;',cls:'pavuk-label'}, {xtype:'textfield' ,id:'i042001' ,name:'d042001' ,x:153 ,y:244 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' }, {xtype:'button',id:'lookup_421',width:70,x:263,y:244,text:'Lookup',cls:'pavuk-button',icon:'https://linux.pavuk.com/ktp/icons/16x16/scan.png',tooltip:'Click me to get a record from the database',tooltipType:'title',disabled:false,handler: function() {U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=lookup&lookup=0420014';U_PEOPLE.getForm().submit();}}, {id:'l024001',xtype:'label',x:8,y:294,text:'Date of Death',style:'',cls:'pavuk-label'}, {xtype:'datefield' ,id:'i024001' ,name:'d024001' ,x:153 ,y:292 ,width:100 ,value:'' ,focusClass:'pavuk-field-focus' } ]}, {title:'Test' ,id:'tab4' ,items:[ ]} ] ,listeners: { tabchange: function(e,f) { var stuff = document.getElementById('htab'); stuff.value = f.id;}} } ] ,buttons:[ {xtype:'button' ,id:'command_1' ,width:80 ,text:'Save/Run' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/save.png' ,tooltip:'Click me to save form data and uploaded attachments to the database' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=save'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } }, {xtype:'button' ,id:'command_2' ,width:80 ,text:'Access' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/history.png' ,tooltip:'Click here to view record filing history' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { window.open('https://linux.pavuk.com/pavuk.qsp&account=P260593027&window=newwindow&key=&form=U_PEOPLE&command=access','newwindow','width=700, height=500, left=675,top=300'); } }, {xtype:'button' ,id:'command_3' ,width:80 ,text:'Attach' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/attach.png' ,tooltip:'Click here to view previously saved attachments or to upload new attachment files' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { window.open('https://linux.pavuk.com/pavuk.qsp&account=P260593027&window=attach&key=&form=U_PEOPLE&command=attach','newwindow','width=700, height=500, left=675,top=300'); } }, {xtype:'button' ,id:'command_4' ,width:80 ,text:'Reset' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/reload.png' ,tooltip:'Reset causes all unsaved data to be discarded and the form ready for re-use' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { if (Ext.getCmp('mainForm').getForm().isDirty() === true ) { Ext.Msg.confirm('Confirmation','Form has unsaved changes.<br />Still Reset?', function(btn,text){ if (btn == 'yes'){ U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=reset'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } else {return false;} }); } else { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=reset'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } } }, {xtype:'button' ,id:'command_5' ,width:80 ,text:'Search' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/find.png' ,tooltip:'Enter desired data into form fields and click search' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=search'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } }, {xtype:'button' ,id:'command_6' ,width:80 ,text:'Delete' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/trash.png' ,tooltip:'Click me to delete the present item from the database' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { Ext.Msg.confirm('Confirmation','Do you really want to delete this record?', function(btn,text){ if (btn == 'yes'){ U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=delete'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } else {return false;} }); } }, {xtype:'button' ,id:'command_7' ,width:80 ,text:'Print' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/print.png' ,tooltip:'Click me to get a printer friendly form' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { window.open('https://linux.pavuk.com/pavuk.qsp&account=P260593027&window=newwindow&key=&form=U_PEOPLE&command=req_print','newwindow','width=700, height=500, left=675,top=300'); } }, {xtype:'button' ,id:'command_8' ,width:80 ,text:'Follow' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/bookmark.png' ,tooltip:'Click me to have the record follow to another form.' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { if (Ext.getCmp('mainForm').getForm().isDirty() === true ) { Ext.Msg.confirm('Confirmation','Form has unsaved changes.<br />Still Follow?', function(btn,text){ if (btn == 'yes'){ U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=follow'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } else {return false;} }); } else { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=follow'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } } }, {xtype:'button' ,id:'command_9' ,width:80 ,text:'Help' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/help.png' ,tooltip:'Opens a help window for this form' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { window.open('https://linux.pavuk.com/pavuk.qsp&account=P260593027&window=newwindow&key=&form=U_PEOPLE&command=help','newwindow','width=700, height=500, left=675,top=300'); } }, {xtype:'button' ,id:'command_10' ,width:80 ,text:'Paste' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/clipboard.png' ,tooltip:'Click me to copy previous data for this file' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=paste'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } }, {xtype:'button' ,id:'command_11' ,width:80 ,text:'Exit' ,cls:'pavuk-button' ,icon:'https://linux.pavuk.com/ktp/icons/16x16/stop.png' ,tooltip:'Exit this form. Discards all unsaved data changes.' ,tooltipType:'title' ,style:'padding:1px' ,disabled:false ,handler: function() { if (Ext.getCmp('mainForm').getForm().isDirty() === true ) { Ext.Msg.confirm('Confirmation','Form has unsaved changes.<br />Still Exit?', function(btn,text){ if (btn == 'yes'){ U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=exit'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } else {return false;} }); } else { U_PEOPLE.getForm().getEl().dom.action = 'https://linux.pavuk.com/pavuk.qsp&account=P260593027&key=&form=U_PEOPLE&command=exit'; U_PEOPLE.getForm().getEl().dom.method='POST'; U_PEOPLE.getForm().submit(); } } } ] }); });</script></body></html>
Steps to reproduce the problem:- [] foo
[] bar
The result that was expected:- a full form
The result that occurs instead:- blank form with error icon
Screenshot or Video:- attached
Debugging already done:- none
Possible fix:- not provided
-
30 Sep 2010 7:19 AM #2
Not a bug:
http://jslint.com/ is your friendCode:var store_022 = new Ext.data.ArrayStore({ storeId: 'store_022', autoDestroy: true, autoLoad: true, autoSave: false, idIndex: 0, fields: ['value', 'text'], data: [['', ''], ] // <- extra comma });
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[2.2] Button width miscalc in MSIE 7
By TaterSalad in forum Ext 2.x: BugsReplies: 2Last Post: 3 Dec 2008, 9:05 AM -
FormField / Element ID as msgTarget / MSIE
By tellioglu in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 3 Jan 2008, 2:21 AM -
DomHelper / table / MSIE 6
By tellioglu in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 5 Dec 2007, 7:05 AM -
Empty header displayed in MSIE 7
By tellioglu in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 12 Nov 2007, 4:19 AM


Reply With Quote