# IQL in Forms

> Use IQL in forms: advanced filters, behavior properties such as :hidden, :readOnly and :backgroundColor, and Run on click or Run on change actions like creating records or opening forms.

In forms, **IQL** can be written to filter records, to change behaviors of components, or as code that is ran on click or on change.

For code version control in the IQL editor, click on the ![ShowChangeInformationByLine](_images/form_designer/ShowChangeInformationByLine.png) icon to show change information by line, or click on the ![ShowHistory](_images/form_designer/ShowHistory.png) icon to show history.

Search for fields and variables used in IQL code with the [Find in form](form_designer/find_in_form.md) tool in Form designer.

> **Tip:**
> 
> We have integrated Awen, our AI Assistant, directly into all Form rules editors. Instead of writing prompts from scratch, simply select any text and click the Awen icon next to the selection, to get an instant explanation.

## Sections

Each section is a separate file:

- [Create an Advanced filter](iql_in_forms/create_an_advanced_filter.md): Once the Record filter pop-up form is opened, it’s easier to get started creating a custom filter first, and from there click on Advanced.
- [Change the behavior of components](iql_in_forms/change_the_behavior_of_components.md): Most components in Forms have behaviors that can be adjusted with IQL.
- [Run actions with components (Run on click, Run on change)](iql_in_forms/run_actions_with_components_run_on_click_run_on_change.md): Run an action or multiple actions at one click of a Button, Link or Icon, or upon change of a field value; for example, an action to save the form, to open another form, to take a photo, etc., usin...
- [Run calculations on fields or set the value of fields (Run on change)](iql_in_forms/run_calculations_on_fields_or_set_the_value_of_fields_run_on_change.md): Get the result of a formula immediately after changing values in your form, without having to save or click on a button.
- [Run actions upon selection of a Record (Run on select)](iql_in_forms/run_actions_upon_selection_of_a_record_run_on_select.md): Whenever you use the Selector, Detail section, Multi detail section, Table section, Map, or Calendar, the Run on select property will be available for you to apply an IQL action.
- [Run actions upon loading the form (Run on init)](iql_in_forms/run_actions_upon_loading_the_form_run_on_init.md): Sometimes it is necessary to set up some variables from the moment the form is opened, which will be later modify by the user depending on actions from other components.
- [Configure charts components (IQL chart)](iql_in_forms/configure_charts_components_iql_chart.md): Add the IQL chart component onto the canvas, and then open the Form rules block.
- [Video Tutorial](iql_in_forms/video_tutorial.md): Learn how to use IQL in forms by following along with this tutorial video:
