Field restriction

Hi Everyone,

I have a form which contains a no. of fields.I have put @If(Fieldname=“” ;@Failure(“Field should not be blank”);

@Success) on a field. I want to restrict if any field is blank the form doesn’t save. but when i save my form it give me field blank error that “Field should not be blank” but save successfully and the form saved it.In Save option, i have made @Command([FileSave]);

@Command([FileCloseWindow]);

@MailSend option.So Can anyone suggest me that how can i restrict field in form before saveing and sending.

Subject: Try this

This will make sure all your field validations pass before saving, closing and doing whatever you have in the @MailSend. In your Save button put

@If(@IsValid;

@Command([FileSave]):@Command([FileCloseWindow]):@MailSend options;

@Nothing)