lathan reddy 17.Feb.12 09:06 AM a Web browser Domino Designer 6.5.2 Windows XP
i have a problem with field validation,Please help me some one
Fields are reverse place in order to one by one ,
I have a filed called mail code and region
Here mail code is order wise first place and region field is second place.
Based on the region field only i can able to select Mail code field value on clicking choose Mail cod button.
WITH OUT SELECTING region field the mail code will not be poplate,but here first filed is "mail code" field to choose mail we need click Choose Mail code button.
That button contains the code:
FIELD MailCode_T := MailCode_T;
TempMailCode := @Prompt([OkCancelList]; "Select the Mail Code"; "Select The Mail Code From The List.";Temp;@DbLookup("":"NoCache";"";"MailCode_V";Rgn_T;3));
@If(TempMailCode = ""; @Prompt([Ok]; "Error Encountered"; "Use Button Again To Choose The Mail Code");
and i have added the line after the code,though its not working:
@If(Rgn_T = ""; @Failure("Region is a required field."); @Success);
In the button i need to put the validation part" if the Region field value is null, i need to select region message" then i will choose Mail code.
With out selecting Region if we click Choose Mail code Button,we willthe error message"Server Error: Entry not found in Index".
if you click Choose Mail code button after selecting Region there is no error message,the value is poplating .....