is it possible to check if there are any numbers present in the address field?
i tried with regex ( /[^0-9]/g ) but it does not work. (it only puts it in superscript)
Any other possibility to hold back fulfillment for missing house numbers?
is it possible to check if there are any numbers present in the address field?
i tried with regex ( /[^0-9]/g ) but it does not work. (it only puts it in superscript)
Any other possibility to hold back fulfillment for missing house numbers?
Regex is not supported currently. You could check if the address includes each number. It’s obviously quite a bit more manual to set up 10 conditions but it should work.
but i did not think of it, yet. thanks for the hint
This is still not working for me, is their any other way to do it?
Flow now as a Run code action. You can use whatever you need in that action to parse an address
Hello @FrederikstubbeO
Yes, it is possible to check if there are any numbers present in the address field or not, Checkout Address Validify provides a simple solution:
Our app allows you to validate fields such as First Name, Last Name, Address Line 1 and 2, City, Zip Code, Phone, and more. You can customize validation rules, including:
Additionally, you can apply these validations at the cart level, block specific zip codes, and apply rules without needing a Shopify Plus plan. Address Validify integrates seamlessly without checkout.liquid file modifications—just install the app, configure your validation rules, and it will handle everything.
This should help prevent issues with shipping labels containing non-Latin characters, offering a streamlined solution.