Skip to main content
Adding more information.
Source Link
Jen
  • 1.4k
  • 9
  • 32

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in MVC layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

In Summary - if you're using Sitecore 9+ you're supposed to add those 2 lines to the MVC layout file. If you're using Sitecore 9.1.1 with SXA 1.8.1 those lines are missing from the Sitecore forms wrapper.cshtml (which I believe they should be there - as I didn't need to add them in SXA 1.8).

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in MVC layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in MVC layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

In Summary - if you're using Sitecore 9+ you're supposed to add those 2 lines to the MVC layout file. If you're using Sitecore 9.1.1 with SXA 1.8.1 those lines are missing from the Sitecore forms wrapper.cshtml (which I believe they should be there - as I didn't need to add them in SXA 1.8).

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in mvc layoutMVC layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in mvc layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in MVC layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

adding link provided from sitecore support.
Source Link
Jen
  • 1.4k
  • 9
  • 32

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in mvc layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

So in hunting around I discovered that Sitecore 9.1.1 \views\shared\sitecore form wrapper.cshtml is missing the render lines. Not sure if that was intentional and they're supposed to work some other way? But putting them back in fixes my form!

enter image description here

Looks to be intentional. Here is an article that talks about a requirement to update in mvc layout.

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-form-to-a-webpage.html

Source Link
Jen
  • 1.4k
  • 9
  • 32
Loading