{"id":7861,"date":"2015-11-03T23:26:32","date_gmt":"2015-11-04T06:26:32","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=7861"},"modified":"2020-08-26T15:58:54","modified_gmt":"2020-08-26T22:58:54","slug":"kb0010274-how-do-you-make-an-index-field-optional-during-validation","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb0010274-how-do-you-make-an-index-field-optional-during-validation\/","title":{"rendered":"Making an Index Field Optional During Validation"},"content":{"rendered":"
Applies to: <\/b>Ephesoft Transact 4.5.0.0 and above<\/span><\/span><\/p>\n How do you create a regular expression to allow blank values as an option during validation?<\/span><\/p>\n Combine your regular expression with the regular expression for a blank (empty\/null) space using the pipe symbol ( | ).<\/span><\/p>\n This regex validates blank spaces:<\/span><\/p>\n Example:<\/b><\/span><\/p>\n The following regex will accept \u201cyes\u201d, \u201cno\u201d or empty space as a validation rule.<\/span><\/p>\n Applies to: Ephesoft Transact 4.5.0.0 and above How do you create a regular expression to allow blank values as an […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12357,12388],"tags":[361,1306,730],"yoast_head":"\nRegular Expression<\/b><\/span><\/h2>\n
\u00a0^\\s*$<\/span><\/pre>\n
yes|no|^\\s*$<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"