function f_verifikasipmb_form2(id_module, ds, titlex) { var form_bp_general = new Ext.form.FormPanel({ border: false, id: 'form_bp_general', labelAlign: 'left', buttonAlign: 'left', bodyStyle: 'padding:10px 3px 3px 5px', // atas, kanan, bawah, kiri monitorValid: true, height: 1900, width: 600, autoScroll: true, layout: 'form', reader: new Ext.data.JsonReader({ root: 'data', totalProperty: 'results', id: 'id', fields: [{ name: "nopmb", mapping: "nopmb" }, { name: "nokuitansipmb", mapping: "nokuitansipmb" }, { name: "idjadwalpmb", mapping: "idjadwalpmb" }, { name: "kdprodi1", mapping: "kdprodi1" }, { name: "idstmskmhs", mapping: "idstmskmhs" }, { name: "idklsmhs1", mapping: "idklsmhs1" }, { name: "kdprodi2", mapping: "kdprodi2" }, { name: "idklsmhs2", mapping: "idklsmhs2" }, //============== { name: "nama", mapping: "nama" }, { name: "kdjk", mapping: "kdjk" }, { name: "tptlahir", mapping: "tptlahir" }, { name: "tgllahir", mapping: "tgllahir" }, { name: "alamatasal", mapping: "alamatasal" }, { name: "kelurahanasal", mapping: "kelurahanasal" }, { name: "kecamatanasal", mapping: "kecamatanasal" }, { name: "kdkotkabasal", mapping: "kdkotkabasal" }, { name: "nmkotkabtampil", mapping: "nmkotkabtampil" }, { name: "nmpropinsitampil", mapping: "nmpropinsitampil" }, { name: "alamatsurat", mapping: "alamatsurat" }, { name: "kdpossurat", mapping: "kdpossurat" }, { name: "notelp", mapping: "notelp" }, //============== { name: "nmslta", mapping: "nmslta" }, { name: "kdkotkabslta", mapping: "kdkotkabslta" }, { name: "nmkotkabsltatampil", mapping: "nmkotkabsltatampil" }, { name: "nmpropinsisltatampil", mapping: "nmpropinsisltatampil" }, { name: "thnlulusslta", mapping: "thnlulusslta" }, { name: "nemslta", mapping: "nemslta" }, { name: "rangkingslta", mapping: "rangkingslta" }, { name: "noijazahslta", mapping: "noijazahslta" }, { name: "tglijazahslta", mapping: "tglijazahslta" }, //============== { name: "nmortu", mapping: "nmortu" }, { name: "idpekerjaanortu", mapping: "idpekerjaanortu" }, { name: "alamatortu", mapping: "alamatortu" }, { name: "nmtptbekerjamhs", mapping: "nmtptbekerjamhs" }, { name: "idpekerjaanmhs", mapping: "idpekerjaanmhs" }, { name: "alamatkerjamhs", mapping: "alamatkerjamhs" }, //============== { name: "kdptasal", mapping: "kdptasal" }, { name: "nmptasal", mapping: "nmptasal" }, { name: "kdkotkabptasal", mapping: "kdkotkabptasal" }, { name: "nmkotkabpttampil", mapping: "nmkotkabpttampil" }, { name: "nmpropinsipttampil", mapping: "nmpropinsipttampil" }, { name: "fakultasasal", mapping: "fakultasasal" }, { name: "kdprodiasal", mapping: "kdprodiasal" }, { name: "nmprodiasal", mapping: "nmprodiasal" }, { name: "idjenpdkpendaftar", mapping: "idjenpdkpendaftar" }, { name: "nimasal", mapping: "nimasal" }, { name: "idstakreditasi", mapping: "idstakreditasi" }, //============== { name: "idsbrinfo", mapping: "idsbrinfo" }, { name: "idrekpmb", mapping: "idrekpmb" }, { name: "nmrekomendasi", mapping: "nmrekomendasi" }, { name: "idalasanpendaftar", mapping: "idalasanpendaftar" }, { name: "ketlainnya", mapping: "ketlainnya" } ] }), items: [{ xtype: 'fieldset', title: 'Pendaftaran', //height: 170, width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'textfield', fieldLabel: 'No Kuitansi PMB', labelStyle: 'text-align: right;width:160px;', id: 'nokuitansipmb', readOnly: true, width: 380 }, { xtype: 'textfield', fieldLabel: 'No PMB', labelStyle: 'text-align: right;width:160px;', id: 'nopmb', readOnly: true, width: 380 }, { xtype: 'textfield', fieldLabel: 'Jadwal PMB', labelStyle: 'text-align: right;width:160px;', id: 'idjadwalpmb', readOnly: true, width: 380 }, { xtype: 'textfield', fieldLabel: 'Status Pendaftar', labelStyle: 'text-align: right;width:160px;', id: 'idstmskmhs', readOnly: true, width: 380 },{ xtype: 'textfield', hidden: true, labelStyle: 'text-align: right;width:160px;', readOnly: true, width: 380, validator:function(){ if (Ext.getCmp('idstmskmhs').getValue()=="Baru"){ Ext.getCmp('fs_pendidikan_slta').enable(); Ext.getCmp('fs_pendidikan_pt').disable(); Ext.getCmp('nmslta').allowBlank = false; Ext.getCmp('kdkotkabslta').allowBlank = false; Ext.getCmp('nmkotkabsltatampil').allowBlank = false; Ext.getCmp('thnlulusslta').allowBlank = false; Ext.getCmp('nemslta').allowBlank = false; Ext.getCmp('rangkingslta').allowBlank = false; Ext.getCmp('noijazahslta').allowBlank = false; Ext.getCmp('tglijazahslta').allowBlank = false; } else { Ext.getCmp('fs_pendidikan_slta').disable(); Ext.getCmp('fs_pendidikan_pt').enable(); Ext.getCmp('nmslta').allowBlank = true; Ext.getCmp('kdkotkabslta').allowBlank = true; Ext.getCmp('nmkotkabsltatampil').allowBlank = true; Ext.getCmp('thnlulusslta').allowBlank = true; Ext.getCmp('nemslta').allowBlank = true; Ext.getCmp('rangkingslta').allowBlank = true; Ext.getCmp('noijazahslta').allowBlank = true; Ext.getCmp('tglijazahslta').allowBlank = true; } } }] }] }, { xtype: 'fieldset', title: 'Program Studi (diisi Lengkap)', //height: 400, width: 575, items: [{ xtype: 'compositefield', border: false, id: 'cmp', name: 'cmp', fieldLabel: 'Pilihan 1', labelStyle: 'text-align: right;width:160px;', width: 390, items: [{ xtype: 'combo', store: ds_prodi, name: 'kdprodi1', id: 'kdprodi1', triggerAction: 'all', editable: false, valueField: 'kdprodi', displayField: 'nmprodi', forceSelection: true, submitValue: true, hiddenName: 'h_kdprodi1', allowBlank: false, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true, listeners: { } }, { xtype: 'combo', store: ds_klsmhs, name: 'idklsmhs1', id: 'idklsmhs1', triggerAction: 'all', editable: false, valueField: 'kdklsmhs', displayField: 'nmklsmhs', forceSelection: true, submitValue: true, hiddenName: 'h_kdklsmhs', allowBlank: false, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true, listeners: { } }] }, { xtype: 'compositefield', border: false, fieldLabel: 'Pilihan 2', labelStyle: 'text-align: right;width:160px;', width: 390, items: [{ xtype: 'combo', // labelStyle: 'text-align: right;width:160px;', store: ds_prodi, name: 'kdprodi2', id: 'kdprodi2', triggerAction: 'all', editable: false, valueField: 'kdprodi', displayField: 'nmprodi', forceSelection: true, submitValue: true, hiddenName: 'h_kdprodi2', allowBlank: false, listeners: { }, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'combo', store: ds_klsmhs, name: 'idklsmhs2', id: 'idklsmhs2', triggerAction: 'all', editable: false, valueField: 'kdklsmhs', displayField: 'nmklsmhs', forceSelection: true, submitValue: true, hiddenName: 'h_kdklsmhs', allowBlank: false, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true, listeners: { } }] }] }, { xtype: 'fieldset', title: 'Data Pribadi (diisi Lengkap)', //height: 400, width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'textfield', labelStyle: 'text-align: right;width:160px;', fieldLabel: 'Nama', id: 'nama', width: 380, allowBlank: false, //disabled: true, listeners: {} }, { xtype: 'combo', store: [ ['L', 'Laki-laki'], ['P', 'Perempuan'] ], fieldLabel: 'Jenis Kelamin', labelStyle: 'text-align: right;width:160px;', allowBlank: false, // width: 200, name: 'kdjk', id: 'kdjk', triggerAction: 'all', editable: false, valueField: 'kdjk', displayField: 'kdjk', forceSelection: true, submitValue: true, hiddenName: 'h_jk', listeners: {}, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'Tempat Lahir', labelStyle: 'text-align: right;width:160px;', id: 'tptlahir', allowBlank: false, width: 380 }, { xtype: 'datefield', fieldLabel: 'Tanggal Lahir', labelStyle: 'text-align: right;width:160px;', allowBlank: false, id: 'tgllahir' }, { xtype: 'textfield', fieldLabel: 'Alamat Asal', labelStyle: 'text-align: right;width:160px;', id: 'alamatasal', allowBlank: false, width: 380 }, { xtype: 'textfield', fieldLabel: 'Kelurahan Asal', labelStyle: 'text-align: right;width:160px;', id: 'kelurahanasal', allowBlank: false, width: 380 }, { xtype: 'textfield', fieldLabel: 'Kecamatan Asal', labelStyle: 'text-align: right;width:160px;', id: 'kecamatanasal', allowBlank: false, width: 380 }, { xtype: 'compositefield', name: 'comp_kota', fieldLabel: 'Kota/Kabupaten', labelStyle: 'text-align: right;width:160px;', width: 390, id: 'comp_kota', items: [{ xtype: 'textfield', id: 'kdkotkabasal', name: 'kdkotkabasal', allowBlank: false, hidden: true, width: 100, emptyText: 'Pilih...', listeners: {} }, { xtype: 'textfield', id: 'nmkotkabtampil', name: 'nmkotkabtampil', allowBlank: false, readOnly: true, width: 355, emptyText: 'Pilih...', listeners: {} }, { xtype: 'button', text: ' ... ', id: 'btn_data_kota', width: 3, handler: function() { find_x("Data Kota/Kabupaten", 4); } }] }, { xtype: 'textfield', fieldLabel: 'Propinsi', labelStyle: 'text-align: right;width:160px;', id: 'nmpropinsitampil', allowBlank: false, disabled: true, width: 380 }, { xtype: 'textfield', fieldLabel: 'Alamat Surat', labelStyle: 'text-align: right;width:160px;', allowBlank: false, id: 'alamatsurat', width: 380 }, { xtype: 'textfield', fieldLabel: 'Kodepos', labelStyle: 'text-align: right;width:160px;', allowBlank: false, id: 'kdpossurat', width: 100 }, { xtype: 'textfield', fieldLabel: 'No. Telepon / HP', labelStyle: 'text-align: right;width:160px;', allowBlank: false, id: 'notelp', width: 380 }] }] }, { xtype: 'fieldset', title: 'Data Kelulusan SLTA (diisi Lengkap)', id: 'fs_pendidikan_slta', name: 'fs_pendidikan_slta', width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'textfield', fieldLabel: 'Nama Sekolah', labelStyle: 'text-align: right;width:160px;', id: 'nmslta', width: 380, //allowBlank: false, //disabled: true, listeners: {} }, { xtype: 'compositefield', name: 'comp_kota_slta', fieldLabel: 'Kota/Kabupaten', labelStyle: 'text-align: right;width:160px;', width: 390, id: 'comp_kota_slta', items: [{ xtype: 'textfield', id: 'kdkotkabslta', name: 'kdkotkabslta', hidden: true, width: 100, emptyText: 'Pilih...', listeners: {} }, { xtype: 'textfield', id: 'nmkotkabsltatampil', name: 'nmkotkabsltatampil', width: 360, emptyText: 'Pilih...', listeners: {} }, { xtype: 'button', text: ' ... ', id: 'btn_data_kota_slta', width: 3, handler: function() { find_x("Data Kota/Kabupaten SLTA", 4); } }] }, { xtype: 'textfield', fieldLabel: 'Propinsi', labelStyle: 'text-align: right;width:160px;', id: 'nmpropinsisltatampil', //allowBlank: false, disabled: true, width: 380 }, { xtype: 'combo', store: [ ['1', '2013'], ['2', '2014'], ['3', '2015'], ['4', '2016'], ['5', '2017'], ['6', '2018'], ['7', '2019'], ['8', '2020'], ['9', '2021'], ['10', '2022'], ['11', '2023'], ['12', '2024'], ['13', '2025'], ['14', '2026'], ['15', '2027'], ['16', '2028'], ['17', '2029'], ['18', '2030'] ], fieldLabel: 'Tahun Lulus', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, width: 100, name: 'thnlulusslta', id: 'thnlulusslta', triggerAction: 'all', editable: false, valueField: 'idthnlulusslta', displayField: 'nmthnlulusslta', forceSelection: true, submitValue: true, hiddenName: 'h_thnlulus', listeners: {}, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'NEM', //allowBlank: false, labelStyle: 'text-align: right;width:160px;', id: 'nemslta', width: 100 }, { xtype: 'textfield', fieldLabel: 'Rangking', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'rangkingslta', width: 100 }, { xtype: 'textfield', fieldLabel: 'Nomor Ijazah', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'noijazahslta', width: 380 }, { xtype: 'datefield', fieldLabel: 'Tanggal Ijazah', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'tglijazahslta', width: 380 }] }] }, { xtype: 'fieldset', title: 'Data Orang Tua/Wali', //height: 400, hidden: false, width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'textfield', fieldLabel: 'Nama Orang Tua/Wali', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'nmortu', width: 380 }, { xtype: 'combo', store: ds_pekerjaanortu, fieldLabel: 'Pekerjaan', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, width: 100, name: 'idpekerjaanortu', id: 'idpekerjaanortu', triggerAction: 'all', editable: false, valueField: 'idpekerjaanortu', displayField: 'nmpekerjaanortu', forceSelection: true, submitValue: true, hiddenName: 'h_pekerjaanortu', listeners: {}, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'Alamat', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'alamatortu', width: 380 }, ] }] }, { xtype: 'fieldset', title: 'Data Pekerjaan Mahasiswa( diisi oleh Pendaftar dengan status Karyawan/Pegawai)', height: 125, hidden: false, width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'textfield', fieldLabel: 'Nama Instansi', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, id: 'nmtptbekerjamhs', width: 380 }, { xtype: 'combo', store: ds_pekerjaanortu, fieldLabel: 'Pekerjaan', labelStyle: 'text-align: right;width:160px;', //allowBlank: false, width: 100, name: 'idpekerjaanmhs', id: 'idpekerjaanmhs', triggerAction: 'all', editable: false, valueField: 'idpekerjaanortu', displayField: 'nmpekerjaanortu', forceSelection: true, submitValue: true, hiddenName: 'h_pekerjaanortu', listeners: {}, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'Alamat', //allowBlank: false, labelStyle: 'text-align: right;width:160px;', id: 'alamatkerjamhs', width: 380 }, ] }] }, { xtype: 'fieldset', title: 'Data Pendidikan Tinggi Yang Pernah Ditempuh ( diisi oleh Pendaftar dengan status Pindahan/Melanjutkan)', id: 'fs_pendidikan_pt', name: 'fs_pendidikan_pt', width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'compositefield', name: 'comp_PT_asal', fieldLabel: 'Nama Perguruan Tinggi Asal', labelStyle: 'text-align: right;width:160px;', width: 390, id: 'comp_PT_asal', items: [{ xtype: 'textfield', id: 'kdptasal', name: 'kdptasal', // hidden:true, //allowBlank: true, readOnly:true, width: 125, emptyText: 'Pilih...', listeners: {} }, { xtype: 'textfield', id: 'nmptasal', name: 'nmptasal', //allowBlank: true, //allowblankx, width: 230, emptyText: 'Pilih...', listeners: { change: function(){ // validator: function(value){ Ext.getCmp('kdptasal').setValue('999999'); // } } } }, { xtype: 'button', text: ' ... ', id: 'btn_data_PT_asal', width: 3, handler: function() { find_x("Data Perguruan Tinggi", 5); } }] }, { xtype: 'compositefield', name: 'comp_kota_pt', fieldLabel: 'Kota/Kabupaten', labelStyle: 'text-align: right;width:160px;', width: 390, id: 'comp_kota_pt', items: [{ xtype: 'textfield', id: 'kdkotkabptasal', name: 'kdkotkabptasal', hidden: true, width: 100, emptyText: 'Pilih...', listeners: {} }, { xtype: 'textfield', id: 'nmkotkabpttampil', name: 'nmkotkabpttampil', width: 360, emptyText: 'Pilih...', listeners: {} }, { xtype: 'button', text: ' ... ', id: 'btn_data_kota_pt', width: 3, handler: function() { find_x("Data Kota/Kabupaten Perguruan Tinggi", 4); } }] }, { xtype: 'textfield', fieldLabel: 'Propinsi', labelStyle: 'text-align: right;width:160px;', id: 'nmpropinsipttampil', //allowBlank: true, //allowblankx, disabled: true, width: 380 }, { xtype: 'textfield', fieldLabel: 'Fakultas', //allowBlank: true, //allowblankx, labelStyle: 'text-align: right;width:160px;', id: 'fakultasasal', width: 380 }, { xtype: 'compositefield', name: 'comp_prodi', fieldLabel: 'Program Studi/Jurusan', labelStyle: 'text-align: right;width:160px;', width: 390, id: 'comp_prodi', items: [{ xtype: 'textfield', id: 'kdprodiasal', name: 'kdprodiasal', //hidden:true, allowBlank: true, //allowblankx, readOnly: true, width: 125, emptyText: 'Pilih...', listeners: {} }, { xtype: 'textfield', id: 'nmprodiasal', name: 'nmprodiasal', //readOnly: true, allowBlank: true, // allowblankx, width: 230, emptyText: 'Pilih...', listeners: { change: function(){ // validator: function(value){ Ext.getCmp('kdprodiasal').setValue('999999'); // } } } }, { xtype: 'button', text: ' ... ', id: 'btn_data_prodiasal', width: 3, handler: function() { find_x("Data Program Studi Asal", 6); } }] }, { xtype: 'combo', fieldLabel: 'Jenjang Pendidikan', store: ds_jenpdkpendaftar, name: 'idjenpdkpendaftar', id: 'idjenpdkpendaftar', triggerAction: 'all', editable: false, //disabled :true, valueField: 'idjenpdkpendaftar', displayField: 'nmjenpdkpendaftar', forceSelection: true, submitValue: true, hiddenName: 'h_enpdkpendaftar', listeners: {}, labelStyle: 'text-align: right;width:160px;', typeAhead: true, allowBlank: true, //allowblankx, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'NPM/NIM', labelStyle: 'text-align: right;width:160px;', allowBlank: true, // allowblankx, id: 'nimasal', width: 380 }, { xtype: 'combo', fieldLabel: 'Peringkat Akreditasi', store: ds_stakreditasi, name: 'idstakreditasi', id: 'idstakreditasi', triggerAction: 'all', editable: false, //disabled :true, valueField: 'idstakreditasi', displayField: 'nmstakreditasi', forceSelection: true, submitValue: true, hiddenName: 'h_nmstakreditasi', listeners: {}, labelStyle: 'text-align: right;width:160px;', typeAhead: true, mode: 'local', emptyText: 'Pilih...', allowBlank: true, //allowblankx, selectOnFocus: true }] }] }, { xtype: 'fieldset', title: 'Informasi Lainnya', //height: 400, labelAlign: 'top', width: 575, items: [{ columnWidth: 1, border: false, layout: 'form', items: [{ xtype: 'combo', fieldLabel: 'Informasi Unla didapat dari', store: ds_sbrinfo, name: 'idsbrinfo', id: 'idsbrinfo', triggerAction: 'all', editable: false, width: 300, //disabled :true, valueField: 'idsbrinfo', displayField: 'nmsbrinfo', forceSelection: true, submitValue: true, hiddenName: 'h_nmsbrinfo', listeners: {}, labelStyle: 'text-align: right;width:160px;', //allowBlank: false, typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'combo', fieldLabel: 'Contact Person, yang merekomendasikan anda masuk UNLA', store: ds_rekpmb, name: 'idrekpmb', id: 'idrekpmb', triggerAction: 'all', editable: false, width: 300, //disabled :true, valueField: 'idrekpmb', displayField: 'nmrekpmb', forceSelection: true, submitValue: true, hiddenName: 'h_idrekpmb', listeners: {}, labelStyle: 'text-align: right;width:160px;', typeAhead: true, mode: 'local', //allowBlank: false, emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'Nama', // allowBlank: false, labelStyle: 'text-align: right;width:160px;', id: 'nmrekomendasi', width: 380 }, { xtype: 'combo', fieldLabel: 'Alasan memilih UNLA', store: ds_alasanpendaftar, name: 'idalasanpendaftar', id: 'idalasanpendaftar', triggerAction: 'all', editable: false, width: 300, //disabled :true, valueField: 'idalasanpendaftar', displayField: 'nmalasanpendaftar', forceSelection: true, submitValue: true, hiddenName: 'h_idalasanpendaftar', listeners: {}, //allowBlank: false, labelStyle: 'text-align: right;width:160px;', typeAhead: true, mode: 'local', emptyText: 'Pilih...', selectOnFocus: true }, { xtype: 'textfield', fieldLabel: 'Lain -lain', labelStyle: 'text-align: right;width:160px;', // allowBlank: false, id: 'ketlainnya', width: 380 }, { xtype: 'textfield', // fieldLabel: 'KODE1', id: 'kdprodi11', name: 'kdprodi11', // labelStyle: 'text-align: right;', hidden: true }, { xtype: 'textfield', // fieldLabel: 'KODE2', id: 'kdprodi22', name: 'kdprodi22', // labelStyle: 'text-align: right;', hidden: true }] }] }], buttons: [{ id: 'btn_simpan', text: 'Simpan', handler: function() { if (id_module != '') { simpan_grid('form_bp_general'); } } }, { text: 'Alert', hidden: true, handler: function() { getpmb(); } }], listeners: { afterrender: module_afterrender } }); function module_afterrender() { if (id_module != "") { form_bp_general.getForm().load({ url: BASE_URL + 'pendaftaran/c_verifikasipmb/grid', params: { id_module: id_module }, success: function(form, action) { }, failure: function(form, action) { Ext.MessageBox.alert('Failure', 'Fail to get data'); }, waitMsg: 'Loading..' }); } } win = new Ext.Window({ title: "Pendaftaran Mahasiswa Baru", layout: "fit", x: 210, y: 300, resizable: false, closable: false, draggable: false, items: [form_bp_general] }).show(); function simpan_grid(namaForm) { var form_nya = Ext.getCmp(namaForm); form_nya.getForm().submit({ url: BASE_URL + 'pendaftaran/c_verifikasipmb/update', method: 'POST', params:{ }, success: function() { Ext.MessageBox.alert("Informasi", "Simpan Data Berhasil, Silahkan Logout Untuk Keamanan"); }, failure: function() { Ext.MessageBox.alert("Informasi", "Simpan Data Gagal"); } }); } }