Table of contents

Official Content

When a Variable is inserted into a GeneXus object Form/Layout, its default behavior at runtime depends on the type of object in which it is used.

By default, variables inserted into Web Panels and Panels Layouts are input variables, allowing users to enter or modify their values at runtime. On the other hand, in Transactions Layouts, variables are read-only by default, but by defining an Accept rule for a variable, it becomes editable, allowing users to enter or modify its value during the Transaction's execution.

When editing a variable, an error message is displayed if its value is invalid. After that, when a User-defined event is executed, there are two possible scenarios:

  • If the variable with the invalid value is NOT used as a parameter of any function or Procedure object that needs to be executed on the server, the user event is executed. For example, you can set the variable to empty.
  • If the variable with the invalid value IS used as a parameter of a function or procedure that needs to be executed on the server, the user event is NOT executed. For example, you cannot set the variable to empty, because the user must manually correct the invalid value before the event can be executed successfully.

See Also

Native Mobile Applications - Server Events
Server-Side Functions/Methods

Last update: 2026 | © GeneXus. All rights reserved. GeneXus Powered by Globant