BS Development Skills 2: Formulas Combined with JavaScript BS Error

zhaozj2021-02-16  57

When using Lotus as a BS development, the process of error prompt often encounters the process, and the common practice is to be implemented through the ALERT () in JS. In fact, it can be combined with JavaScript with JavaScript through the Lotus formula language makes it easier.

Processing in the infut valuation event in the domain, using the JavaScript code in the formula. For example, to determine if the number of domain values ​​of the two domains is equal, if not, the prompt is given and then returns the current page, the code is as follows: WARNSTR: = "