Skip to content

POC - Dynamic URLs referencing Disease names based on query parameter#1404

Open
micolgiannelli2 wants to merge 899 commits into
XGovFormBuilder:mainfrom
ukhsa-collaboration:micol/dynamic-urls
Open

POC - Dynamic URLs referencing Disease names based on query parameter#1404
micolgiannelli2 wants to merge 899 commits into
XGovFormBuilder:mainfrom
ukhsa-collaboration:micol/dynamic-urls

Conversation

@micolgiannelli2

Copy link
Copy Markdown

Description

https://ukhsa.atlassian.net/browse/SBS-289

Context

TODO..

Changes

  • Change A
  • Change B

Type of change

What is the type of change you are making?

  • Chore or documentation (non-breaking change that does not add functionality)
  • ADR (Architectural Decision Record, non-breaking change that documents or proposes a decision)
  • Refactor (non-breaking change that improves code quality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

PR title

PR titles should be prefixed with the type of change you are making, based on the README.md#versioning.
This is so that when performing a squash merge, the PR title is automatically used as the commit message.

Have you updated the PR title to match the type of change you are making?

  • Yes
  • No, I need help or guidance

Testing

Automated tests

Have you added automated tests?

  • Yes, unit or integration tests
  • Yes, end-to-end (cypress) tests
  • No, tests are not required for this change
  • No, I need help or guidance
  • No (explain why tests are not required or can't be added at this time)

Manual tests

Have you manually tested your changes?

  • Yes
  • No, manual tests are not required or sufficiently covered by automated tests

Have you attached an example form JSON or snippet for the reviewer in this PR?

  • Yes
  • No, any existing form can be used
  • No, it is not required or not applicable

Steps to test

  1. Step 1
  2. Step 2

Documentation

Have you updated the documentation?

  • Yes, I have updated ./docs for this change since additional explanation or steps to use/configure the feature is required
  • Yes, I have added or updated an ADR for this change since it is large, complex, or has significant architectural implications
  • Yes, I have added inline comments for hard-to-understand areas
  • No, I am not sure if documentation is required
  • No, documentation is not required for this change

Discussion

Warning

Large or complex changes may require discussion with the maintainers before they can be merged. If it has not yet been discussed, it may delay the review process

Have you discussed this change with the maintainers?

  • Yes, I have discussed this change with the maintainers on slack, email or via GitHub issues
  • Yes, this change is an ADR to help kick-off discussion
  • No, this change is small and does not require discussion
  • No, I am not sure if one is required

calum-ukhsa and others added 30 commits November 13, 2025 14:20
@jenbutongit

Copy link
Copy Markdown
Contributor

Hey @micolgiannelli2, I assume this is opened against the wrong repository.

Judging from the title, this feature may already be available to you. You can set values for a form via query parameter, then either render that value directly, or map it to another value to render. https://github.com/XGovFormBuilder/digital-form-builder/blob/main/docs/runner/templating.md

At FCDO, we had a question page at the start of the form, something along the lines of "Which form do you need to fill in". Most users would not see this page, since the usual route in would be sent a direct link (with query param) to the second page. That allowed us to render the questions/titles as "Submit a {{ FormName }}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.