Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden Field Magic String [@Url] doesn't work on a paged form #918

Closed
OwainWilliams opened this issue Nov 21, 2022 · 2 comments
Closed

Hidden Field Magic String [@Url] doesn't work on a paged form #918

OwainWilliams opened this issue Nov 21, 2022 · 2 comments

Comments

@OwainWilliams
Copy link

If a hidden field is added to a form which has multiple pages, the magic string [@url] only works if it's on the first page of the form.

This field is on the second page of a form:
image

If I move the field to the first page you can see that the value is populated as expected.

image

Reproduction

Great a form with multiple pages on it.
Add a hidden field question to the second page and use a magic string

image

Look in the rendered form on the front end and the value will be [@url] rather than the page url.

Move that field to the first page of the form and view the source again, you'll see the value is correct and it shows the url as expected.

Bug summary

@AndyButland
Copy link

Thanks for reporting @OwainWilliams, I can replicate and and see the issue. Will be resolved in the next patch releases.

@OwainWilliams
Copy link
Author

Brilliant. Thanks @AndyButland

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

No branches or pull requests

2 participants