il_random_text()
Generate a paragraph of placeholder (lorem ipsum) text. Handy for filling test records while building a table or flow.
Syntax
il_random_text(size)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
size |
int | yes | Approximate number of words. |
Returns
A string of placeholder text.
Example
record_create("notes", ["body" => il_random_text(40)]);
Example output
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ..."
Notes
- For testing only — not meant for production content.
See also: il_random_title(), il_random_html()