Support > Repository > Check the input > Complex check/consistency check using script

Using scripts, you can perform complicated input checks and check consistency (check the validity after input).

Wagby can use "server side JavaScript" which runs on the server.The grammar is JavaScript.

Figure 1 Script description field

Please read the explanation page of "business logic".It explains the difference between server side JavaScript and JavaScript running on Web browser.

Please read "Input check/Consistency check" for explanation and concrete examples of input check and consistency check.

  • This check is performed on the server side at the timing of pressing the button such as "Save".
  • The input item that caused an error has a background of red.This applies to text boxes or date/time list boxes.(The script developer needs to set Jfcerror on p.errors object.)