# Seleccion Simple

### Tipo de widget

En el esquema se representa como

> "widget\_type": "SIMPLE\_SELECTION"

### Lectura

A la hora de leer este tipo de widget, obtenemos un valor de tipo string con una de las opciones de la lista configuradas en el schema (plantilla) del formulario. Supongamos que hay 2 opciones

* "Pendiente de pago"
* "Cobrado"

```json
{
    ...
    "FW9ilaip": "Cobrado",
    ...
}
```

### Escritura

Cuando insertamos o modificamos un formulario, en el field correspondiente a este widget, debemos colocar un string que coincida con alguna de las opciones disponibles en el schema (plantilla) del formulario. Continuando con el ejemplo de arriba, podemos insertar "Pendiente de pago" o "Cobrado". Sin importar tildes ni mayúsculas. O sea que si enviase "COBRADO", luego al consultar el formulario obtendría "Cobrado", es decir que se normalizan los campos a los valores reales de la lista

```json
{
    ...
    "FW9ilaip": "COBRADO",
    ...
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.api.persat.com.ar/modulos/formularios-digitales/tipos-de-widgets/seleccion-simple.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
