Problem/Motivation

I tried to use 'examples' to build my custom form but I ended up using this video on YouTube. I don't know if it is naming of files or something else but it was unclear to me which example I should use.

Also, I haven't found any examples of how to save data anywhere. I can only see examples of outputting values into Messanger.

I suggest adding some examples of saving form values into files/database. There is no much info about this on Google, only some old posts like this one: how-can-i-save-form-data-on-a-node-in-drupal

Comments

ollie-db created an issue. See original summary.

jungle’s picture

Version: 8.x-1.x-dev » 4.0.x-dev

It's nice to have

jungle’s picture

Status: Active » Needs work
avpaderno’s picture

Component: Form API Example » Code
Category: Feature request » Task
Status: Needs work » Active
avpaderno’s picture

Issue tags: -New feature
avpaderno’s picture

There are already examples that show how to save data in a configuration object, or in the database, or which create a new entity from values submitted in a form. There is also an example that shows how to create a file from values submitted in a form.

I am closing this issue because there are no new modules to add. If you have any suggestion on how to expand the existing modules, please open a new issue. I would suggest opening the new issue for the 5.0.x branch, although some of the modules are going to be modified.

avpaderno’s picture

Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.