"$ xns" : "Roo.form",
"items" : [
{
- "listWidth" : 150,
- "triggerAction" : "all",
- "fieldLabel" : "Advalue Currency",
- "selectOnFocus" : true,
- "displayField" : "code",
- "hiddenName" : "orig_advalue_currency",
- "value" : "",
- "valueField" : "code",
- "xtype" : "ComboBox",
- "allowBlank" : true,
- "typeAhead" : false,
- "actionMode" : "fieldEl",
- "editable" : false,
- "width" : 100,
+ "fieldLabel" : "Phone",
+ "xtype" : "TextField",
+ "$ regex" : "/^[0-9 +-]+$/",
+ "width" : 150,
"$ xns" : "Roo.form",
- "name" : "currency_title",
- "qtip" : "Select Currency",
- "$ store" : "Pman.I18n.currencyStore()"
+ "name" : "cntct_phone"
},
{
- "fieldLabel" : "Advalue",
- "xtype" : "NumberField",
- "actionMode" : "fieldEl",
- "allowDecimals" : false,
- "width" : 70,
+ "fieldLabel" : "Phone (Alt)",
+ "xtype" : "TextField",
+ "$ regex" : "/^[0-9 +-]+$/",
+ "width" : 150,
"$ xns" : "Roo.form",
- "name" : "orig_advalue"
+ "name" : "cntct_phone1"
}
]
},
- {
- "fieldLabel" : "Phone",
- "xtype" : "TextField",
- "$ regex" : "/^[0-9 +-]+$/",
- "width" : 150,
- "$ xns" : "Roo.form",
- "name" : "cntct_phone"
- },
- {
- "fieldLabel" : "Phone (Alt)",
- "xtype" : "TextField",
- "$ regex" : "/^[0-9 +-]+$/",
- "width" : 150,
- "$ xns" : "Roo.form",
- "name" : "cntct_phone1"
- },
{
"fieldLabel" : "Email",
"vtype" : "email",
items : [
{
'|xns' : 'Roo.form',
- listWidth : 150,
- triggerAction : 'all',
- fieldLabel : 'Advalue Currency',
- selectOnFocus : true,
- displayField : 'code',
- hiddenName : 'orig_advalue_currency',
- value : "",
- valueField : 'code',
- xtype : 'ComboBox',
- allowBlank : true,
- typeAhead : false,
- actionMode : 'fieldEl',
- editable : false,
- width : 100,
+ fieldLabel : 'Phone',
+ xtype : 'TextField',
+ regex : /^[0-9 +-]+$/,
+ width : 150,
xns : Roo.form,
- name : 'currency_title',
- qtip : "Select Currency",
- store : Pman.I18n.currencyStore()
+ name : 'cntct_phone'
},
{
'|xns' : 'Roo.form',
- fieldLabel : 'Advalue',
- xtype : 'NumberField',
- actionMode : 'fieldEl',
- allowDecimals : false,
- width : 70,
+ fieldLabel : 'Phone (Alt)',
+ xtype : 'TextField',
+ regex : /^[0-9 +-]+$/,
+ width : 150,
xns : Roo.form,
- name : 'orig_advalue'
+ name : 'cntct_phone1'
}
]
},
- {
- '|xns' : 'Roo.form',
- fieldLabel : 'Phone',
- xtype : 'TextField',
- regex : /^[0-9 +-]+$/,
- width : 150,
- xns : Roo.form,
- name : 'cntct_phone'
- },
- {
- '|xns' : 'Roo.form',
- fieldLabel : 'Phone (Alt)',
- xtype : 'TextField',
- regex : /^[0-9 +-]+$/,
- width : 150,
- xns : Roo.form,
- name : 'cntct_phone1'
- },
{
'|xns' : 'Roo.form',
fieldLabel : 'Email',