Releases: SitecoreSupport/Sitecore.Support.130346
Releases · SitecoreSupport/Sitecore.Support.130346
8.0.3.0
Description
The patch enables the possibility to localize validation message for the Number field when using MVC Forms.
Compatibility
The release was built for and tested with the following Sitecore products in bare condition (no hotfixes, patches or other customizations, unless explicitly specified):
- Sitecore XP 8.0 rev. 150427 (Update-3)
- Web Forms for Marketers 8.0 rev. 150429 (Update-3)
Contents
- bin/Sitecore.Support.130346.dll
Installation
For all Sitecore instances in the solution:
- Make a backup of the files mentioned in
Contentssection and listed in theinstallation instruction(if any). - Copy the contents of the
Websitefolder from the archive to theWebsitefolder of your Sitecore solution, overwrite existing files if any conflicts occur. - Open the
/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Numberitem and replace the following line in theMVC Typefield:
Sitecore.Forms.Mvc.Models.Fields.NumberField,Sitecore.Forms.Mvc
With this line:
Sitecore.Support.Forms.Mvc.Models.Fields.NumberField,Sitecore.Support.130346 - Make sure that the
DynamicRegularExpressionErrorMessageattribute is present in theLocalized Parametersfield of the necessary language version of theNumberfield item. - Save and publish this change.
- (Optional) Copy the
Sitecore.Support.130346-8.0.3.0.ziparchive into the$(data)/patchesfolder permanently.
Uninstallation
- Remove the files listed in the
Contentssection. - Restore the original files from the backup made during installation.
- Open the
/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Numberitem and replace the following line in theMVC Typefield:
Sitecore.Support.Forms.Mvc.Models.Fields.NumberField,Sitecore.Support.130346
With this line:
Sitecore.Forms.Mvc.Models.Fields.NumberField,Sitecore.Forms.Mvc - Save and publish this change.
Important Notes
- The patch should be installed only if recommended by Sitecore Support.
- Any related issues and other feedback should be reported via support portal, check KB 654910 for details.
- Check KB 077333 to find more information about Sitecore Patches.
8.1.3.0
Description
This patch enables the possibility to localize validation message for the Number field when using ASP.NET MVC Forms.
After implementing this patch it is possible to configure the validation message for each language version of a form using the Regular Expression field in Form Designer.
Compatibility
The release was built for and tested with:
- Sitecore Experience Platform 8.1 rev. 160519 (Update-3) and Web Forms for Marketers 8.1 rev. 160523 (Update-3)
- Sitecore Experience Platform 8.2 rev. 160729 (Initial Release) and Web Forms for Marketers 8.2 rev. 160801 (Initial Release)
- Sitecore Experience Platform 8.2 rev. 170728 (Update-5) and Web Forms for Marketers 8.2 rev. 170802 (Update-5)
- Sitecore Experience Platform 8.2 rev. 171121 (Update-6) and Web Forms for Marketers 8.2 rev. 171103 (Update-6)
- Sitecore Experience Platform 8.2 rev. 180406 (Update-7) and Web Forms for Marketers 8.2 rev. 180329 (Update-7)
- Sitecore Experience Platform 9.0 rev. 180604 (9.0 Update-2) and Web Forms for Marketers 9.0 rev. 180503
Sitecore.Support.130346-8.1.3.0.zip
Instructions
For all Sitecore instances in the solution:
- Make a backup of the files mentioned in
Contentssection that already exist inWebsitefolder. - Extract the contents of the archive to the
Websitefolder, overwrite existing files if any conflicts occur. - Open the
/sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Numberitem and replace the following line in theMVC Typefield:
Sitecore.Forms.Mvc.ViewModels.Fields.NumberField,Sitecore.Forms.Mvc
With this line:
Sitecore.Support.Forms.Mvc.ViewModels.Fields.NumberField,Sitecore.Support.130346 - Make sure that the
DynamicRegularExpressionAttributeattribute is present in theLocalized Parametersfield of the necessary language version of theNumberfield item. - Save and publish this change.
Contents
- bin/Sitecore.Support.130346.dll
Important Notes
- The patch should be installed only if your solution is affected by the described issue.
- Check KB077333 article to find more information about Sitecore Patches.