Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
I am trying to store the form fields value to database using bean shell. But I am not able to fetch the values. I tried to get the form row using 'FormRow originalRow = rows.get(0);'.
mentioned in the knowledgebase 'http://dev.joget.org/community/display/KBv4/Store+Form+Field+Data+to+Multiple+Tables. 'But getting error 'undefined variable rows'.
how can I get rows object ?
Please help.
Thanks,
Promod
1 Comment
Walter
Where do you execute your code?
"rows" object is available in FormStoreBinder bean shell. See "store" method in https://github.com/jogetworkflow/jw-community/blob/4.0-SNAPSHOT/wflow-core/src/main/java/org/joget/apps/form/lib/BeanShellFormBinder.java
You can try "formData" object also.