#why is my form doing this? [Resolved]

1 messages · Page 1 of 1 (latest)

green vortex
#

Your rendering conditions are colliding. Make sure you’re using “visible” booleans correctly. With the file you sent however I believe your issue will be in your index file server_form.json

stray parrot
#
{
  "namespace": "server_form",
  
  "[email protected]_screen": {
    "$screen_content": "server_form.main_screen_content",
    "button_mappings": [
      {
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      }
    ]
  },

  
  "main_screen_content": {
    "type": "panel",
    "size": [0, 0],
    "controls": [
      {
        "server_form_factory": {
          "type": "factory",
          "control_ids": {
            "long_form": "@server_form.long_form",
            "custom_form": "@server_form.custom_form"
          }
        }
      },
      {
        "server_form_factory": {
          "type": "factory",
          "control_ids": {
            "long_form": "@casino_form.casino_form"
          }
        }
        }
    ]
  },
      "server_form_factory": {
        "type": "factory",
        "control_ids": {
          "long_form": "@useful_form.useful_form"
        }
      },
      
  "long_form": {
    "type": "panel",
    "controls": [
      {
        "long_form@common_dialogs.main_panel_no_buttons": {
          "$title_panel": "common_dialogs.standard_title_label",
          "$title_size": [
            "100% - 14px",
            10
          ],
          "size": [
            260,
            230
          ],
          "$text_name": "#title_text",
          "$title_text_binding_type": "none",
          "$child_control": "server_form.long_form_panel",
          "layer": 2,
          "bindings": [
            {
              "binding_name": "#title_text"
            },
            {
              "binding_type": "view",
              "source_property_name": "((not (#title_text= '§bGames')) and (not (#title_text = '§aUseful')))",
              "target_property_name": "#visible"
            }            
          ]
        }
      }
    ]
  }
}
oblique creek
#

I am getting same issue how did you solve this?

#

ah nvm