Skip to content

Commit 0cfeca0

Browse files
committed
Reverted incorrect update.
1 parent 1c017c8 commit 0cfeca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

14/umbraco-forms/developer/working-with-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Guid UniqueId
7777
Dictionary<Guid, RecordField> RecordFields
7878
```
7979

80-
In order to access custom Form fields, these are available in the `RecordFields` property. Furthermore there exists an extension method named `ValueAsString` on `Record` in `Umbraco.Forms.Core.Services`, such that you can get the value as string given the alias of the field.
80+
In order to access custom Form fields, these are available in the `RecordFields` property. Furthermore there exists an extension method named `ValueAsString` on `Record` in `Umbraco.Forms.Core.Extensions`, such that you can get the value as string given the alias of the field.
8181

8282
This extension method handle multi value fields by comma separating the values. E.g. "A, B, C"
8383

@@ -88,7 +88,7 @@ Sample script that is outputting comments using a Form created with the default
8888
```csharp
8989
@using Umbraco.Core;
9090
@using Umbraco.Cms.Core.Composing;
91-
@using Umbraco.Forms.Core.Services;
91+
@using Umbraco.Forms.Core.Extensions;
9292
@inject IRecordReaderService _recordReaderService;
9393

9494
<ul id="comments">

0 commit comments

Comments
 (0)