Task #88510

Documentation: Describe how to access form values by identifier

Added by Lidia Demin over 2 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
Start date:
2019-06-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Documentation
Complexity:
Sprint Focus:
Remote Sprint

Description

Description:
It would be very helpful having a description of how to access form values by identifier in the documentation.

Use case:
In the SenderEmailFinisher template form values like salutation and name are used for personalized greeting.

Example:

Dear {form.formState.formValues.salutation} {form.formState.formValues.name},

thank you for your reply.


Related issues

Related to TYPO3 Core - Feature #84713: Add option to get a single processed form valueClosedMathias Brodala2018-04-13

Actions
#1

Updated by Susanne Moog over 2 years ago

  • Tags set to CodingNight
#2

Updated by Mathias Brodala about 2 years ago

  • Related to Feature #84713: Add option to get a single processed form value added
#3

Updated by Mathias Brodala about 2 years ago

Notice that this depends on #84713, otherwise you only get raw values. For example option values instead of their labels.

#4

Updated by Mathias Brodala about 2 years ago

  • Tags changed from CodingNight to CodingNight, Documentation
#5

Updated by Mathias Brodala about 2 years ago

  • Sprint Focus set to Remote Sprint
#6

Updated by Bjoern Jacob over 1 year ago

  • Tracker changed from Feature to Task
  • TYPO3 Version set to 10
#7

Updated by Bjoern Jacob 4 months ago

  • TYPO3 Version changed from 10 to 11

Tasks:

  • check if this has been documented, now
  • if not document it
  • Liddi's example is not correct, needs proper syntax

Furthermore, check this out: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62416/9/typo3/sysext/core/Documentation/Changelog/master/Feature-84713-AccessSingleFormValuesInTemplates.rst

#8

Updated by Bjoern Jacob 4 months ago

  • Status changed from New to In Progress
  • Assignee set to Bjoern Jacob
  • Tags changed from CodingNight, Documentation to Documentation
#9

Updated by Gerrit Code Review 4 months ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70574

#10

Updated by Gerrit Code Review 4 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70574

#11

Updated by Gerrit Code Review 3 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70574

#12

Updated by Gerrit Code Review 3 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70574

#13

Updated by Gerrit Code Review 3 months ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70779

#14

Updated by Bjoern Jacob 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#15

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF