我在extjs中使用了一個字段集,並且想要提交這些值。現在我想用一個警報檢查值,但我沒有看到我能做到這一點。檢查extjs發送的值
{
"xtype": "fieldset",
"height": 377,
"id": "configurationDriversConfiguration",
"width": 648,
"layout": {
"type": "auto"
},
"collapsible": true,
"title": "Driver Configuration",
"items": [
{
"xtype": "button",
"id": "configurationDriversAdd",
"text": "Add"
},
{
"xtype": "button",
"id": "configurationDriversDelete",
"text": "Delete"
},
{
"xtype": "textfield",
"id": "configurationDriversCode",
"fieldLabel": "Driver Code"
},
{
"xtype": "textfield",
"id": "configurationDriversName",
"fieldLabel": "Driver Name"
},
{
"xtype": "textfield",
"id": "configurationDriversLicense",
"fieldLabel": "Driver License nr"
},
{
"xtype": "textfield",
"id": "configurationDriversGivenName",
"fieldLabel": "Driver Given Name"
},
{
"xtype": "textfield",
"id": "configurationDriversFamilyName",
"fieldLabel": "Driver Familiy Name"
},
{
"xtype": "textfield",
"id": "configurationDriversPhone",
"fieldLabel": "Driver Phone Nr"
},
{
"xtype": "textfield",
"id": "configurationDriversEmail",
"fieldLabel": "Driver Email"
},
{
"xtype": "combobox",
"id": "configurationDriversProvider",
"fieldLabel": "Provider",
"displayField": "name",
"store": "comboProviders",
"valueField": "id"
},
{
"xtype": "textareafield",
"id": "configurationDriversMemo",
"fieldLabel": "Memo"
},
{
"xtype": "button",
"height": 37,
"id": "configurationDriversSave",
"text": "Save"
}
]
}
是我的代碼。當我點擊保存時,我想查看所有的值。我用煎茶架構師,找不到這個
你到底需要什麼?檢查值是什麼?你在尋找某種驗證嗎? – sha
驗證會很好。但我需要的是,當我按下保存它做了一些事情:)並看看它是什麼,我想看到提交的值。例如什麼是填充在configurationDriversName –