Define custom rows in PHP
For Form Designer, supply a PHP callback that returns an array of column definitions and enter its name in Field Options. For a form built in PHP, pass the same array as columns when registering a field_set with jrCore_form_field_create().
Supported column types are text, textarea, checkbox, radio, select, select_and_text and hidden. Columns can have their own labels, defaults and validation. Set unique to true to require distinct nonempty values within that column across the rows. A select can draw its choices from another FieldSet on the same form using options_field and options_column.
Read submitted values through jrCore_form_get_save_data() and decode saved rows in PHP with ujFieldSet_decode_rows(). The module that owns the field controls access, storage and search. If you add a public FieldSet field to Jamroom Search, Search indexes the entire stored JSON value, including its keys. Keep private fields out of the search configuration.