< Back

Document Subject: Compose Inheriting Document On Web afetr Validation
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#ValidInherit or http://A555F9/nn.nsf/ByAlias/ValidInherit

Website required a document to be composed which inherited values from another new document, but htis document had to be validated first.




This code put in an Action button will try and save the current document, and if the Input Validation fails will display the Input Validation message, otherwise it will compose the document.

 

r:=@Command([FileSave]);
@If(r=0;
 @Return("");
 @PostedCommand([Compose];"NextForm"))