Field validation on VL Web client

This forum allows developers to post programming tips and coding techniques that may be useful to other Visual LANSA developers. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Dominik
Posts: 11
Joined: Fri Jun 10, 2016 12:14 pm

Field validation on VL Web client

Post by Dominik » Wed Jul 25, 2018 3:40 pm

There was a new feature shipped with V14 SP2 which was not given much fanfare.... Repository field validation for VL Web applications. This allows you to check a field/fields against the field and file level rules defined at the repository level. Currently this feature is available for Prim_MD.EditField, and also PRIM_DLG (dialog) and PRIM_VIEW (view) controls, in the latter two cases it checks all fields that are contained on that control.

See the documentation below for more information on how to use the Validate method
https://docs.lansa.com/14/en/lansa016/p ... lidate.htm

https://docs.lansa.com/14/en/lansa016/p ... lidate.htm

https://docs.lansa.com/14/en/lansa016/p ... lidate.htm

The Validate method (in a Dialog) is also used by the template when you select Build a Mobile Web Application, Start with a Template (in the Details Dialog), and in VLF One when you use the SCRUD/CRUD wizard to create a business object (Validate is used with EditField).

This is a powerful new feature which allows you to use your repository rules with VL Web applications.

Post Reply