BUG-11275 Error creating Case Scheduler. SOLVED

1. The Label on the New Form Case Scheduler was changed into "Name", like in the List.
2. The Name field was validated to don't allow spaces " " like a valid name.
This commit is contained in:
jennylee
2013-04-23 16:01:48 -04:00
parent 88b01435cb
commit 4d7d129600

View File

@@ -46,7 +46,7 @@
</TAS_UID>
<SCH_NAME type="text" maxlength="100" validate="Any" required="1" readonly="0" size="40" mode="edit" mask="" strto="" dependentfields="" defaultvalue="" hint="" formula="" function="" sqlconnection="" savelabel="0">
<en>Description</en>
<en>Name</en>
</SCH_NAME>
<SCH_OPTION type="dropdown" required="1" readonly="0" savelabel="0" mode="edit" options="Array">
@@ -623,6 +623,9 @@ function case_userSchedulerValidate(username, password) {
*/
function validateSchedulerFields(){
getField("SCH_NAME").value = getField("SCH_NAME").value.trim();
var validFields = true;
var requiredFields = '';
var badFormatFields = '';