Question

1
Replies
87
Views
Aparna Beeram (AparnaB5)
Capgemini

Capgemini
IN
AparnaB5 Member since 2015 6 posts
Capgemini
Posted: August 10, 2017
Last activity: August 10, 2017
Posted: 10 Aug 2017 10:08 EDT
Last activity: 10 Aug 2017 12:35 EDT
Closed

Issue with comma in function pxContainsSpecialCharacters

Hi,

Inorder to validate a property so that it does not allow special characters except for some defined characters, I have used a string function pxContainsSpecialCharacters which takes two inputs. One the property value and the other is allowablecharactersList in CSV format.

The Exact expression which I have used is @String.pxContainsSpecialCharacters(.AddressLine,"-,/, ,(,),&,@,{,},_,',`,,,\","). In allowable characters list I want to allow comma too, but the issue here is that as this List is in CSV format comma is getting replaced with blank and the system is throwing an error that comma is not allowed. Could anyone please help me in resolving the issue ASAP so that the comma is also allowed and property is validated correctly.

Thanks in advance,

Aparna

Enterprise Application Development Dev/Designer Studio Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.