Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the article, misleading people to the wrong direction #323

Merged
merged 1 commit into from Aug 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/content/1.7/modules/concepts/forms/admin-forms.md
@@ -1,17 +1,24 @@
---
title: Alter Back Office forms
title: Alter Configuration Back Office forms
weight: 4
aliases:
- /1.7/modules/concepts/hooks/alter_forms_on_modern_pages
- /1.7/modules/concepts/hooks/alter-forms-on-modern-pages
---

# Alter forms on modern pages
# Alter configuration forms on modern pages
{{< minver v="1.7.4" title="true" >}}

One of the most common tasks for the PrestaShop developers is to alter the data and make it manageable for customers.
In PrestaShop 1.6, a specific Form framework was created to help developers. In PrestaShop 1.7, the system has changed as we now rely on the Symfony Form component.

{{% notice warning %}}
**This system only works with pages from the "Configure" section of your back office.**

If you want to customize an entity form, you're looking for Grid and identifiable object form hooks usage example.

{{% /notice %}}

Let's see an example on how to add, populate, validate and persist a new form field in PrestaShop 1.7.

#### Create the module and register the hooks
Expand Down