EAN13

EAN13

Hi,


I would need generate EAN13 in Zoho Creator. In Excel sheet, I have this formula in column A (=RANDBETWEEN(978047100000;978047100999) - this formula provides a 12digit number.

And in B column I have this formula: =A1&IF(MOD((SUMPRODUCT({1;3;1;3;1;3;1;3;1;3;1;3};-MID(A1;{1;2;3;4;5;6;7;8;9;10;11;12};1))*-1);10)=0;0;10-(MOD(ABS(SUMPRODUCT({1;3;1;3;1;3;1;3;1;3;1;3};-MID(A1;{1;2;3;4;5;6;7;8;9;10;11;12};1)));10))).

This is last digit validator for EAN13 code.

For example: In A1=978047100700 and in B1=9780471007005.

Any chance to uset this formulas in Zoho Creator form? Generate EAN13 for each form input?