# inplace\_textbox

Source: https://zotonic.com/docs/1392/inplace_textbox

URI: https://zotonic.com/id/1392

Language: en



Render a JS-aided inplace textbox.

Example:

```django
{% inplace_textbox value="def.val." delegate="my_resource" hint="edit" %}
```

Clicking the displayed value replaces it with a text input. Leaving the input, or pressing Enter, sends a postback to `delegate`. Use `tag` to set the postback message and `no_data_text` for the label shown when the value is empty. The `class_input`, `class_label`, `class_hint`, and `class_no_data` arguments customize the generated elements.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1392?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1392?language=en>)
