Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1k
    • Issues 1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #4576

Proposal: Unique Identifier/Field references for input fields in Form Builder

Overview

We propose to add a way to reference fields via an unique identifier in order to use the field value elsewhere on the field, e.g. the success page proposed in issue #4569 or on another page of a multi-page form.

Proposed uses of this feature are:

  • setting the value of another field
  • setting input fields in a form processor

The field reference should be automatically generated when creating a new field but be editable, if needed.

Use case

Donation form:

  • set default value for account holder based on field values “first name”, “last name”
  • show chosen amount of donation on the next page
  • use “first name” and “last name” as well as “donation amount” for success page to confirm donation and say thank you

Current behavior

Not implemented

Proposed behavior

Every field has an auto-generated field reference. Using the field reference, the field value can be shown on the form.

Edited Sep 13, 2023 by simon.hermann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking