Skip to content

Commit ef8da91

Browse files
authored
Merge pull request #607 from ExpressionEngine/add-note-for-cp-form-service
added note for CP form service.. and removed not on need for PHP 7.1 …
2 parents 9035180 + b8d6b32 commit ef8da91

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/development/services/cp-form.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
The CP/Form Service allows for the creation of Shared Form View data using an object oriented interface.
1515

16-
TIP: Note this requires PHP >= 7.1
1716

1817
## Usage
1918

docs/development/shared-form-view.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ lang: php
1313

1414
# Shared Form View
1515

16+
TIP: Note. You can also build out control panel views [with objects using the CP form service](development/services/cp-form.md)
17+
1618
[TOC]
1719

1820
ExpressionEngine's control panel markup is very modular and consistent. Because of that, we were able to abstract out the creation of most form views to a single view file to save repeating ourselves and keeping our form markup maintainable. This view is also available to add-on developers and is recommended for built-in support for form validation.
1921

22+
23+
2024
## Getting started
2125

2226
The concept is quite familiar. In an ExpressionEngine controller file, we will create a variable and pass it to a view. The variable will be a specifically-structured array that will describe the layout and contents of our form.

0 commit comments

Comments
 (0)