Start Process from Datalist Hyperlink Action

Confluence User - 05 Nov, 2021

From this reference: Start Process from Datalist Hyperlink Action,

I found some issue if there's multiple value stored in database if using element such as check box, list selection and multiple select box.

For example value stored in field select1 = 'teams;zoom', select2 = 'wfh;wfo', select3 = 'glove;mask'


url once hyperlink is click:  /jw/web/userview/test/test/_/editFormfke_select1=zoom%3Bteams&fke_select2=wfh%3Bwfo&fk_select3=glove%3Bmask 


there's no value displayed in either check box, list selection or multiple select box. But if using text field, value is displayed correctly.

This is from Joget DX version. Not sure about other versions. Is this supposed to be normal or a bug?


datalist;hyperlink;multi-select-box;checkbox;list-selection

2


09 Nov, 2021
confluenceUser
confluenceUser

Please send a screen of the configurations of all three fields on the form from where you are submitting the data and where you are trying to get it

15 Nov, 2021
confluenceUser
confluenceUser

Hi Anas Misbah Shami,


Here is the setting in hyperlink for all 3 fields:


JSON for form:

{
"className": "org.joget.apps.form.model.Form",
"properties": {
"loadBinder": {
"className": "org.joget.apps.form.lib.WorkflowFormBinder"
},
"name": "Test Multi Value",
"description": "",
"id": "testMultiValue",
"storeBinder": {
"className": "org.joget.apps.form.lib.WorkflowFormBinder"
},
"tableName": "sendEmail"
},
"elements": [
{
"elements": [
{
"elements": [
{
"className": "org.joget.ListSelectionElement",
"properties": {
"controlField": "",
"readonly": "",
"optionsBinder": {
"className": "",
"properties": {}
},
"options": [
{
"label": "zoom",
"value": "zoom",
"grouping": ""
},
{
"label": "teams",
"value": "teams",
"grouping": ""
}
],
"validator": {
"className": "",
"properties": {}
},
"workflowVariable": "",
"id": "select1",
"label": "Select 1",
"value": "",
"readonlyLabel": ""
}
},
{
"className": "org.joget.apps.form.lib.TextField",
"properties": {
"maxlength": "",
"validator": {
"className": "",
"properties": {}
},
"label": "Text Field Select 1",
"encryption": "",
"size": "",
"readonly": "",
"workflowVariable": "",
"style": "",
"id": "select1",
"placeholder": "",
"value": "",
"readonlyLabel": "",
"storeNumeric": ""
}
},
{
"className": "org.joget.apps.form.lib.CheckBox",
"properties": {
"controlField": "",
"readonly": "",
"optionsBinder": {
"className": "",
"properties": {}
},
"options": [
{
"label": "wfh",
"value": "wfh",
"grouping": ""
},
{
"label": "wfo",
"value": "wfo",
"grouping": ""
}
],
"validator": {
"className": "",
"properties": {}
},
"workflowVariable": "",
"id": "select2",
"label": "Select 2",
"value": "",
"readonlyLabel": ""
}
},
{
"className": "org.joget.apps.form.lib.TextField",
"properties": {
"maxlength": "",
"validator": {
"className": "",
"properties": {}
},
"label": "Text Field Select 2",
"encryption": "",
"size": "",
"readonly": "",
"workflowVariable": "",
"style": "",
"id": "select2",
"placeholder": "",
"value": "",
"readonlyLabel": "",
"storeNumeric": ""
}
},
{
"className": "org.joget.plugin.enterprise.MultiSelectBox",
"properties": {
"controlField": "",
"readonly": "",
"optionsBinder": {
"className": "",
"properties": {}
},
"options": [
{
"label": "glove",
"value": "glove",
"grouping": ""
},
{
"label": "mask",
"value": "mask",
"grouping": ""
}
],
"multiple": "true",
"width": "40%",
"validator": {
"className": "",
"properties": {}
},
"workflowVariable": "",
"id": "select3",
"label": "Select 3",
"value": "",
"readonlyLabel": ""
}
},
{
"className": "org.joget.apps.form.lib.TextField",
"properties": {
"maxlength": "",
"validator": {
"className": "",
"properties": {}
},
"label": "Text Field Select 3",
"encryption": "",
"size": "",
"readonly": "",
"workflowVariable": "",
"style": "",
"id": "select3",
"placeholder": "",
"value": "",
"readonlyLabel": "",
"storeNumeric": ""
}
}
],
"className": "org.joget.apps.form.model.Column",
"properties": {
"width": "100%"
}
}
],
"className": "org.joget.apps.form.model.Section",
"properties": {
"label": "Section",
"id": "section1"
}
}
]
}

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print