Skip to content

Releases: SitecoreSupport/Sitecore.Support.130346

8.0.3.0

21 May 08:42

Choose a tag to compare

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:

  1. Make a backup of the files mentioned in Contents section and listed in the installation instruction (if any).
  2. Copy the contents of the Website folder from the archive to the Website folder of your Sitecore solution, overwrite existing files if any conflicts occur.
  3. Open the /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Number item and replace the following line in the MVC Type field:
    Sitecore.Forms.Mvc.Models.Fields.NumberField,Sitecore.Forms.Mvc
    With this line:
    Sitecore.Support.Forms.Mvc.Models.Fields.NumberField,Sitecore.Support.130346
  4. Make sure that the DynamicRegularExpressionErrorMessage attribute is present in the Localized Parameters field of the necessary language version of the Number field item.
  5. Save and publish this change.
  6. (Optional) Copy the Sitecore.Support.130346-8.0.3.0.zip archive into the $(data)/patches folder permanently.

Uninstallation

  1. Remove the files listed in the Contents section.
  2. Restore the original files from the backup made during installation.
  3. Open the /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Number item and replace the following line in the MVC Type field:
    Sitecore.Support.Forms.Mvc.Models.Fields.NumberField,Sitecore.Support.130346
    With this line:
    Sitecore.Forms.Mvc.Models.Fields.NumberField,Sitecore.Forms.Mvc
  4. 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

21 Oct 13:42

Choose a tag to compare

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:

  1. Make a backup of the files mentioned in Contents section that already exist in Website folder.
  2. Extract the contents of the archive to the Website folder, overwrite existing files if any conflicts occur.
  3. Open the /sitecore/system/Modules/Web Forms for Marketers/Settings/Field Types/Simple Types/Number item and replace the following line in the MVC Type field:

    Sitecore.Forms.Mvc.ViewModels.Fields.NumberField,Sitecore.Forms.Mvc

    With this line:

    Sitecore.Support.Forms.Mvc.ViewModels.Fields.NumberField,Sitecore.Support.130346
  4. Make sure that the DynamicRegularExpressionAttribute attribute is present in the Localized Parameters field of the necessary language version of the Number field item.
  5. 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.