From af378656c35b7849b4867ff820f83c2f0e321aeb Mon Sep 17 00:00:00 2001 From: Nitwel Date: Thu, 23 Oct 2025 14:35:31 +0200 Subject: [PATCH] add prefill value url docs --- content/guides/02.content/2.editor.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/guides/02.content/2.editor.md b/content/guides/02.content/2.editor.md index d84b9d8d..1438d6f0 100644 --- a/content/guides/02.content/2.editor.md +++ b/content/guides/02.content/2.editor.md @@ -80,6 +80,15 @@ Here, you can specify the name, password, roles allowed to access the item, as w To share the link, click on the new share's :icon{name="material-symbols:more-horiz"} and select either "Copy Link" or "Send Link". You can also edit or destroy the share in this menu. +## Query Parameter Defaults + +By utilising the `val[field]` query parameter on the item creation page, you can apply default values to the form. This is useful when sharing the item creation url with others, making it possible to prefill field values or inside layouts like a calendar, making it possible to predefine the date an item should be created on. + +```http +/content/{collection}/+?val[title]=Default Title +/content/{collection}/+?val[date_start]=2025-10-23T10:00:00 +``` + ## Next Steps Learn how to use [content versioning](/guides/content/content-versioning) and the [live preview](/guides/content/live-preview) functionality.