<commit_before># Sections

**Sections** are a set of components which organize most of the application's forms. Unless your form is custom there is a good chance you should use **Sections** to create it.

**Sections should be used for building:**
- User forms (second step, after guide of user application)
- Send application forms (lst step of user application)

## Overview

**Sections** are used as an abstraction layer over models to group model data for usage in client. They are then used in views to generate forms or display data systematically.

Let's say we have a form in which we want to use fields from different models and we need to add some (show/hide) logic between those fields, without **Sections** we would write it all directly in views. We would also need to include some legacy handling with radio/select matches etc, with **Sections** we can define all of this in a concise way in model.

## Working With Sections<commit_msg>Update sections.md<commit_after># Sections

**Sections** are a set of components which organize most of the application's forms. Unless your form is custom there is a good chance you should use **Sections** to create it.

**Sections should be used for building:**
- User forms (second step, after guide of user application)
- Send application forms (last step of user application)

## Overview

**Sections** are used as an abstraction layer over models to group model data for usage in client. They are then used in views to generate forms or display data systematically.

Let's say we have a form in which we want to use fields from different models and we need to add some (show/hide) logic between those fields, without **Sections** we would write it all directly in views. We would also need to include some legacy handling with radio/select matches etc, with **Sections** we can define all of this in a concise way in model.

## Working With Sections
{'fraction_non_alphanumeric': 0.05724789915966386, 'fraction_numerical': 0.0, 'mean_word_length': 4.489913544668588, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '87156', 'n_tokens_mistral': 458, 'n_tokens_neox': 439, 'n_words': 306}