Oracle JET offers a set of validators that you can use to do client side validation on data the user is entering in a form. In this short blog I’ll show you how to use it in a Visual Builder form. You can learn more about JET validators looking at the JET cookbook – for example here. Before you go too deep looking into the JET code samples, make sure you are using the correct cookbook for the JET version used in Visual Builder. Right now (Jan 2020) VB is using JET 7.1.1 (you can see this in the about box in Visual Builder). So you’ll want to look at the parallel JET version of the cookbook, which you can find here (play with the version number in the URL to get to other versions such as 720).
Now you can look at the JavaScript piece of code to see how a validator component is constructed. For example in the regular expression validator you’ll see a piece of code that looks like this and returns a validator type object: Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic