Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bean Shell Form Binder allows you to dictate how Form Data should be loaded and stored.

Figure 1: Bean Shell Form Binder Properties

NameDescription
Script

Script in Java. See Bean Shell Programming Guide for example.

Sample Script:

Sample Load Binder that will populate field with id "description" with the value "hello world".

Image Added

Code Block
import org.joget.apps.form.model.*;

FormRowSet f = new FormRowSet();
FormRow r1 = new FormRow();
r1.put("description", "hello world");
f.add(r1);

return f;
Use AJAX for cascade options?

Not applicable for Form Binder. Only available when used as an Options Binder.