---
title: "form rows from fields · RUAL Documentation"
description: "Generates rows with the given fields. The fields will be used as state keys."
canonical: https://docs.rual.nl/block-types/state%20ui/state_form_fields
language: en
---

# form rows from fields

This block is part of the [`state ui`](https://docs.rual.nl/block-types/state%20ui) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

### Fields Selection Required

This block relies on fields that you selected to perform its data actions. You must manually select the fields you want to use in your flow using the fields selector modal. To access the modal, click the white button on the block.

### Field Selection Required

This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.

Generates rows with the given fields. The fields will be used as state keys.

- form id required `value` A unique ID for the form this field is used in.

- show label at top `condition` Set this to `true` to modify the label styling in form-fields. • Hidden when other fields are filled

- hide labels `condition`

- required fields `v13.0.8` `fielddefinitions` This will add * to the labels if set to true. It will not actually validate if the fields are filled or not but just provide a visual help to the end-user if something is required or not.

- disabled `condition` Set this to `true` to disable all generated inputs. Custom inputs can overwrite this behaviour.

Default `false`

- field render `stateformfieldconnection`

- class `uiclass` Assigns a CSS class to the element. • Hidden when unused

- style `uistyle` Applies inline CSS style to the element • Hidden when unused

- attributes `uiattributes` Adds custom attributes to the element. • Hidden when unused

- state `state` Returns the element to the frontend state.

| `form with fields` |
| --- |

A typical wiring for [form rows from fields](https://docs.rual.nl/block-types/state%2520ui/state_form_fields): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `form_id` pin; the `state` out pin feeds [get component child](https://docs.rual.nl/block-types/state%2520actions/state_component_get_child).

![Studio canvas example for the form rows from fields block: typical wiring for form rows from fields.](https://docs.rual.nl/canvas-examples/state_form_fields.png)

### Version history

Introduced in [`v13.0.1`](https://docs.rual.nl/core-versions/130001).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

- [v13.0.8](https://docs.rual.nl/core-versions/130008): This block or one of its pins was updated in `v13.0.8`, click here to see the release notes.

- [Back to `state ui`](https://docs.rual.nl/block-types/state%20ui): Return to the main group to view all sub-groups

- [Back to `state elements`](https://docs.rual.nl/block-types/state%20ui?group=state%20elements): Return to the group to view all blocks within this group
