Field displaying a Json code instead of the calculation result!
-
Hi! I’m having the following problem!
I have a Field Group with 3 fields being the first two numerical fields and the 3 will be where the calculated data will appear, when I type the values to be calculated instead of showing the result of the calculation a code in Json appears instead!
I tried to put the field to only number but then it was empty!
One more important detail, if I do the calculations in fields outside the group it works perfectly! Thank you for your help!Below is the Json code generated in the field instead of the value:
[{"name":"teste1","subFieldName":"grupos_e_tabelas_teste1","key":"field_617a9b36b35f0","type":"text","value":"12","sortOrder":0,"formula":"","format":"","blankIfZero":"0"},{"name":"teste2","subFieldName":"grupos_e_tabelas_teste2","key":"field_617a9b3fb35f1","type":"text","value":"56","sortOrder":1,"formula":"","format":"","blankIfZero":"0"},{"name":"teste3","subFieldName":"grupos_e_tabelas_teste3","key":"field_617a9b4bb35f2","type":"text","value":672,"sortOrder":2,"formula":"teste1 * teste2","format":"","blankIfZero":"0"}]
Below is a small video I made to demonstrate how this behavior occurs in the field:
Image Links of the sequence that led to the error:
https://ibb.co/pLnq2b9
https://ibb.co/sCQfwRh
https://ibb.co/ZdxPxYg
https://ibb.co/qWWdHmhBelow is the content of the json file for import:
[
{
“key”: “group_6177850219592”,
“title”: “Campos Pacotes de Eventos”,
“fields”: [
{
“key”: “field_617a9b20b35ef”,
“label”: “GRUPOS E TABELAS”,
“name”: “grupos_e_tabelas”,
“type”: “group”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“formula”: “”,
“calculated_format”: “”,
“blank_if_zero”: 0,
“readonly”: 0,
“layout”: “table”,
“acfe_seamless_style”: 0,
“acfe_group_modal”: 0,
“acfe_field_group_condition”: 0,
“sub_fields”: [
{
“key”: “field_617a9b36b35f0”,
“label”: “teste 1”,
“name”: “teste1”,
“type”: “text”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“formula”: “”,
“calculated_format”: “”,
“blank_if_zero”: 0,
“readonly”: 0,
“default_value”: “”,
“placeholder”: “”,
“prepend”: “”,
“append”: “”,
“maxlength”: “”,
“acfe_field_group_condition”: 0
},
{
“key”: “field_617a9b3fb35f1”,
“label”: “teste 2”,
“name”: “teste2”,
“type”: “text”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“formula”: “”,
“calculated_format”: “”,
“blank_if_zero”: 0,
“readonly”: 0,
“default_value”: “”,
“placeholder”: “”,
“prepend”: “”,
“append”: “”,
“maxlength”: “”,
“acfe_field_group_condition”: 0
},
{
“key”: “field_617a9b4bb35f2”,
“label”: “teste 3”,
“name”: “teste3”,
“type”: “text”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“formula”: “teste1 * teste2”,
“calculated_format”: “%0.2F”,
“blank_if_zero”: 0,
“default_value”: “”,
“placeholder”: “”,
“prepend”: “R$”,
“append”: “”,
“maxlength”: “”,
“acfe_field_group_condition”: 0
}
]
}
],
“location”: [
[
{
“param”: “post_type”,
“operator”: “==”,
“value”: “pacotes-de-eventos”
}
]
],
“menu_order”: 0,
“position”: “normal”,
“style”: “default”,
“label_placement”: “top”,
“instruction_placement”: “label”,
“hide_on_screen”: [
“page_attributes”,
“author”,
“categories”,
“comments”,
“discussion”,
“the_content”,
“send-trackbacks”,
“format”,
“permalink”,
“excerpt”,
“revisions”,
“slug”,
“tags”
],
“active”: true,
“description”: “”,
“acfe_autosync”: “”,
“acfe_form”: 0,
“acfe_display_title”: “”,
“acfe_meta”: “”,
“acfe_note”: “”
}
]
- The topic ‘Field displaying a Json code instead of the calculation result!’ is closed to new replies.