Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
This can be done via Javascript in a custom HTML form element.
Do try my sample code snippet below and replace the necessary parameter values:
var values = FormUtil.getGridCellValues("spreadsheetId.columnId"); FormUtil.getField("targetFormFieldId").val(values[0]);
I change my spreadsheet to grid and try the code but it did not return the grid data to field Plant(s) and PIC as an array.
Here what I did;
Thank you!
As mentioned, my script is Javascript, not Java (Bean Shell). Place code in custom html form element.
For example, in spreadsheet I choose plants as ABC, DEF, GHI then the pic name and email will auto filled.
And I want Plant(s) and PIC Email fields to also get the value from spreadsheet.
Thank you!