validateValues()

Previous Next

Syntax
 validateValues (dsName, itemAr, valueAr)

 
Parameter(s)

dsName [String]

itemAr [name1, name2, name3]

valueAr[value1, value2, value3]

 

Description
This function checks if the array of item/value pairs already occurs in the the specified Data Source. Both arrays should be equal length as they form a list of name/value pairs. This function may only be called if, for each Data Source item in the array, the 'Validate allowed' property is set to Yes in the Web Designer. If this is not the case you will receive an error message and the result will be false.

 

Related function: getValidateValuesResult()