BUG 9873 Error creating Dynaform from a PM Table.

When adding a field, the 'Field Name' must be an string without spaces in the middle, because this makes the name of some funtions were generated wrong, like getColosa Email() when it must be like getColosaEmail() or getColosa_Email(). So, this field in the creating PM Table form, was validated to transform any string into a string without spaces.
This commit is contained in:
jennylee
2013-01-21 16:00:38 -04:00
parent e96e5cb77c
commit 09a1854d8a

View File

@@ -162,7 +162,7 @@ Ext.onReady(function(){
allowBlank: true,
listeners:{
change: function(f,e){
this.setValue(this.getValue().toUpperCase());
this.setValue(this.getValue().replace(" ","").toUpperCase());
}
}
}