Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi everyone!
I want to take value from text field in the Form to be appear at email message(Email Plugin). So, I'm trying using hash variable. Referring to the Hash Variables, to get data from form table, we can use #form.formDataTableName.fieldName# or #form.fieldName#. For example, my formDataTableName = table_ABC and fieldName that I want to retrieve is c_userEmail. So, I create #form.table_ABC.c_userEmail# but it doesn't work. Is there any mistake that I made?
Thanks.
5 Comments
Owen Ong
Hi Sarah,
Try it with #form.table_ABC.userEmail#
Hope it's help. :)
sarah
Hi Owen,
I had tried it before. Still not work.
Owen Ong
Hi Sarah,
What you get in the email message when you said it does not work?
Do you have a check in you db whether the value is correctly store?
What is the id the of the record in table_ABC table? Is it similar to the process instance id?
Does it show any exception in the console?
Owen
sarah
Hi Owen,
I change table name and it works. Thanks.
Xeless IT
Hi Owen. I have the same problem but i couldn't solve it.
I would like to build a string from few form fields value into a new one by using hash variable functions.
My example: I put the following text to the "Value" field of a read only text field (without quotes of course): "#form.table_tmr.origin_fob# #form.table_tmr.origin_district#" When i am tryint to save it that says "Error saving form (error): undefined" I checked and my values are there . How should i use this function? Any help would be appriciated.