Skip to content

Conversation

@SullyK
Copy link
Contributor

@SullyK SullyK commented Jun 19, 2025

Description

  • This feature allows you to remove the back button on a given page with
    the following:
    "disableBackLink": true on each page.

For example:

   {
      "path": "/email-confirmed",
      "title": "Thank you for verifying your email",
      "disableBackLink": true,
      "components": [
        {
          "name": "EmailConfirmed",
          "options": {},
          "type": "Para",
          "content": "You have successfully confirmed your email address...."
          "schema": {}
        }
      ]
    },

Type of change

  • [✓] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Tested locally on my own form in Google Chrome with sample forms with the feature enabled/disabled.
  • Axe Devtools for accessibility. The two issues are unrelated.
    image

Checklist:

  • [✓] I have performed a self-review of my own code
  • [✓] I have commented my code, particularly in hard-to-understand areas

@SullyK SullyK marked this pull request as ready for review June 19, 2025 11:45
- This feature allows you to remove the back button on a given page with
  the following:

  "disableBackLink": true

- This was added since the magic link feature redirects back to a form but
  still shows a back button
@SullyK SullyK force-pushed the clean-remove-back-button branch from bddb34d to d0e198b Compare June 19, 2025 11:53
Copy link
Contributor

@jenbutongit jenbutongit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please could you add cypress tests to this

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.

2 participants