Checks if value in the field is valid or given value can be assigned to given case field.



Function arguments

  • fieldName – (String) The name of the field to be tested
  • fieldValue – (String) [Optional] The test value for the field

Return value

This function returns Boolean.
Returns true if specified value can be assigned to specified field, otherwise false.


Example 1:
Check if value in field Customers is valid value for this kind of field.

isValid = IsValidFieldValue("Customers");

Example 2:
This will check if 'Datacom’ string is appropriate value for 'Customers’ field and store return value in 'isValid’ variable.

isValid = IsValidFieldValue("Customers", "Datacom");

Example 3:
This will check if 'ABC’ is appropriate value for 'Amount’ field and if true, do something.

//do something
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.