You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

Quick Example

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

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?

When checked, this allows these fields to dynamically load available options based on the other field value (grouping column) when dealing with tremendous amount of selections. Read more at Ajax Cascading Drop-Down List.

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

  • No labels