Skip Navigation

Skype field shows validation error for empty value

Resolved

Reported for: Toolset Types 2.2.5

Resolved in: Toolset Types 2.2.6

Symptoms

When trying to save a form with Skype field, or a field group with Skype field that has an empty default value, this error is displayed:

Field "Skype" not updated: Letters, numbers, dashes, underscores, commas and periods only please.

Workaround

This will be fixed in the next version of Types. In the meantime, you can download this patch, extract it and apply the patch it contains in all these Toolset plugins, replacing the files with the same names in the following locations:

  • For Types 2.2.5, you need to overwrite the file …/wp-content/plugins/types/library/toolset/toolset-common/toolset-forms/classes/class.validation.php
  • For Views 2.2.2, you need to overwrite the file …/wp-content/plugins/wp-views/embedded/toolset/toolset-common/toolset-forms/class.validation.php
  • For CRED 1.8.5, you need to overwrite the file …/wp-content/plugins/cred-frontend-editor/embedded/toolset/toolset-common/toolset-forms/class.validation.php
  • For Layouts 1.8.10, you need to overwrite the file …/wp-content/plugins/layouts/toolset/toolset-common/toolset-forms/class.validation.php
  • For Access 2.2.2, you need to overwrite the file …/wp-content/plugins/types-access/toolset/toolset-common/toolset-forms/class.validation.php

 

Comments are closed