Developer forum

Forum » Dynamicweb 10 » RegEx for EAN
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi,

I added a RegEx to check the EAN field, but I can still add any data to the field without error.

The RegEx seems to work fine when I check it here: https://regex101.com/r/FqKDV5/1


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

the validation seems to be broken for a text system\custom\category field in DW10 now (OK in DW9). I've created new task #22128 to fix it. Note you use not correct format of pattern above, it should be  ^[0-9]{13}$ (applied on DW9 correctly, find Imar's comment, pls). Thanks.

BR, Oleg QA

 

 

You must be logged in to post in the forum