| Tag | Used In | Explanation |
|---|---|---|
| _v1_ | Textboxes | Validate for Empty field Eg.<input name=firstname_v1_> will ensure firstname is never empty |
| _v2_ | Textboxes | Validate for Integer Value Eg.<input name=ageofperson_v2_> will check that age is a valid integer above 0 |
| _v3_ | Textboxes | Validate for Floating Value Eg.<input name=salary_v3_> will check for a valid currency value greater than 0.00 |
| _v4_ | Textboxes | Validate for Embedded Spaces Eg.<input name=userid_v4_> will make sure userid does not have spaces in it |
| _v5_ | Textboxes | Validate for proper date Eg.<input name=dtOfBirth_v5_> will make sure dtOfBirth has a valid date value |
| _v6_ | Dropdown boxes | Validate for Non-selected Combo Fields Eg.<select name=countries_v6_> will make sure at least one value is selected in the list |
| _v7_ | Textboxes | Validate for starting value being an alphabet Eg.<input name=myname_v7_> will make sure the first character entered is an alphabet (either upper or lowercase) |
| _v8_ | Textboxes | Validate for only alphabetical values Eg.<input name=myname_v8_> will make sure the value contains only alphabets(either upper or lowercase) |
| _v9_ | Textboxes | Validate for email id Eg.<input name=myemail_v9_> will validate that the email id is syntactically correct |
| Field | Explanation |
|---|---|
| CURRENT_DATE_FORMAT | Default Value:DATE_FORMAT_MM_DD_YY Valid Values:DATE_FORMAT_YYYY_MM_DD, DATE_FORMAT_YY_MM_DD, DATE_FORMAT_MM_DD_YYYY, DATE_FORMAT_DD_MM_YYYY, DATE_FORMAT_MM_DD_YY, DATE_FORMAT_DD_MM_YY TFV provides 6 different date formats to choose from. To change the current format simply assign CURRENT_DATE_FORMAT to any of the date formats. Depending on this assignment, the values of the parameters below will change. |
| YEAR_POS, MONTH_POS, DAY_POS | Default Value:YEAR_POS=2, MONTH_POS=0, DAY_POS=1 Valid Values: YEAR_POS: 0 to 2, MONTH_POS: 0 to 2, DAY_POS: 0 to 2 Depending on the CURRENT_DATE_FORMAT chosen, the position of the year, month and day in the date string need to be changed. Positions start from 0, not 1. So if CURRENT_DATE_FORMAT is set to DATE_FORMAT_YYYY_MM_DD, then YEAR_POS=0, MONTH_POS=1 and DAY_POS=2 |
| YEAR_FULL | Default Value:false Valid Values: true or false Depending on the CURRENT_DATE_FORMAT chosen, this value will become true or false. Any format which uses the full year format YYYY will require YEAR_FULL=true otherwise a YY format will require YEAR_FULL=false; |
| CURRENT_DATE_ERROR | Default Value:Date must be in mm-dd-yy format This is the default error message for a date field validation error. You can change this error message or if you are setting up a custom error message for the particular field then this field need not be changed. |