Hi All,Iam having three fileds ‘X’ ‘Y’ & ‘Z’. By default a value appears in ‘X’.Now if a value exists in ‘Y’ as well,then my ‘Z’ value should be mandatory.My ‘Z’ value is a Date Field which allows user to select the date from a a calendar.I tried writing the validation for the same in the below way.Correct me if iam wrong
@if(X!=“”;@Failure(“Please enter value of Z”);@success)
Not sure whats the problem.Not even any errror.Can anyone suggest what should be the procedure?