12

I have a requirement to pre-populate a Sitecore 9 form field from a referring page

Now in WFFM you could use the "ReadQueryString" checkbox:

enter image description here

or you could make use of the Rules Engine inside the Form Designer:

enter image description here

Does anyone know if it's possible in Sitecore Forms OOTB? Or is this something custom that I need to introduce in order to create the same functionality?

0

1 Answer 1

12

In Sitecore 9.0 it is not possible OOTB.

However, in Sitecore 9.1 they did announce field prefilling as a new feature so if upgrading when this version becomes available (should be very soon now) is an option I would do that.

If that is not an option, you could check the extension my colleague Bart has written: https://github.com/bartverdonck/Sitecore-Forms-Extensions They include prefilling based on xConnect data, but you can extend this with other sources (like the querystring as you require). More info on his solution on his blog.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.