From d9d109d9fd8a23d4dbbf0024ae20c01504a9058c Mon Sep 17 00:00:00 2001 From: Jeffrey Schoemaker Date: Tue, 6 Jun 2023 16:17:47 +0200 Subject: [PATCH 1/3] Update magic-strings.md Add the possibility to pass a querystring variable in a Umbraco Form --- 11/umbraco-forms/developer/magic-strings.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/11/umbraco-forms/developer/magic-strings.md b/11/umbraco-forms/developer/magic-strings.md index e775cabc9ae..49c707b2190 100644 --- a/11/umbraco-forms/developer/magic-strings.md +++ b/11/umbraco-forms/developer/magic-strings.md @@ -23,6 +23,8 @@ Some examples of variables that are normally available in `HttpContext.Request`: The variables are not case-sensitive. +But you can use it for any available querystring variable in the url as well. If you url has the querystring "?email=foobar@umbraco.com" for example, you can get the value of the querystring into your field by using `[@email]`. + ### Dictionary Items For multi-lingual websites, rather than hard-coding labels like form field captions, a dictionary key can be entered as, for example, `#MyKey`. When the form is rendered, the placeholder will be replaced by the value of the dictionary item identified by the key, according to the current language. From 8106775031f01e324ac99ce8348c35dcd7df97fc Mon Sep 17 00:00:00 2001 From: sofietoft Date: Wed, 7 Jun 2023 08:35:38 +0200 Subject: [PATCH 2/3] Resolve vale warnings --- 11/umbraco-forms/developer/magic-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11/umbraco-forms/developer/magic-strings.md b/11/umbraco-forms/developer/magic-strings.md index 49c707b2190..bc19f573a51 100644 --- a/11/umbraco-forms/developer/magic-strings.md +++ b/11/umbraco-forms/developer/magic-strings.md @@ -23,7 +23,7 @@ Some examples of variables that are normally available in `HttpContext.Request`: The variables are not case-sensitive. -But you can use it for any available querystring variable in the url as well. If you url has the querystring "?email=foobar@umbraco.com" for example, you can get the value of the querystring into your field by using `[@email]`. +You can use it for any available querystring variable in the URL as well. If your URL has the querystring "?email=foobar@umbraco.com", you can get the value of the querystring into your field by using `[@email]`. ### Dictionary Items From 1004f44b65983b1d57bb0bad41a5d17dddc64c34 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 3 Aug 2023 09:43:21 +0200 Subject: [PATCH 3/3] Minor adjustments --- 11/umbraco-forms/developer/magic-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11/umbraco-forms/developer/magic-strings.md b/11/umbraco-forms/developer/magic-strings.md index bc19f573a51..e4270b9e842 100644 --- a/11/umbraco-forms/developer/magic-strings.md +++ b/11/umbraco-forms/developer/magic-strings.md @@ -23,7 +23,7 @@ Some examples of variables that are normally available in `HttpContext.Request`: The variables are not case-sensitive. -You can use it for any available querystring variable in the URL as well. If your URL has the querystring "?email=foobar@umbraco.com", you can get the value of the querystring into your field by using `[@email]`. +You can use it for any available query string variable in the URL as well. If your URL has the query string `?email=foobar@umbraco.com`, you can get the value of the query string into your field by using `[@email]`. ### Dictionary Items