Share

23. Form Layout - Codeblocks

Inform Design now includes a form code blocks environment for controlling input forms.



Users must still adopt and arrange the parameters required for input logic, input forms, and Inventor model usage.

The adoption order is important so that parameters are passed correctly to the Inventor model, ensuring updates are driven correctly, and serves as the default order for the form block, but these parameters can be reordered without impacting parameter adoption.

Additional parameters can be adopted and rearranged, which adds them to the bottom of the form block and to the form.

If a parameter is unadopted, that parameter is disabled in the form block and removed from the form.

Parameters can be gathered into logical top level groups within the form block, and groups can be collapsed or expanded in the form by default.

The form and groups should be given meaningful names.

Form groups cannot be nested, and all associated parameter blocks are deleted when a group is deleted.

Duplicating a parameter input is allowed and may be useful for critical values.

If a parameter value is modified for one input value, any duplicates will automatically update.

Input rules can still be utilized to control parameters in the form.

Depending on conditions, input parameters can be set to read only, visible or invisible, or deviate from the default form label.

The parameter label in the form block is a static label and is unaffected by label changes made by the input rules and is used as column headers in the existing variant tables.

These input rule code blocks can still remain in the code string even if the parameter is removed from the form block.

In summary, the new form code blocks allow more control over the frame layout, providing a better user experience via grouping and labeling, while preserving modification capabilities with input rules.

Was this information helpful?