Checkout UI / Need help Using the Target parameter in the useBuyerJourneyIntercept function

Checkout UI / Need help Using the Target parameter in the useBuyerJourneyIntercept function

LuckyLuc
Shopify Partner
7 0 1

Hi, I'm developing a Checkout UI extension and I'm now trying to implement a "useBuyerJourneyIntercept" function to prevent users from continuing if they didn't finish completing a form.

 

So I need help in placing the error message at the right spot and I didn't find any documention on the target parameter and the only example I found is using some peudo jQuery kinda selector (see screenshot)


Is there any documentation on using that selector or a quick tutorial

 

Greatly appreciated!

 

Screen Shot 2024-06-13 at 4.43.54 PM.png

Reply 1 (1)

Catalin_G
Shopify Partner
3 0 0

Hello @LuckyLuc ! did you ever managed to find a solution for this? Maybe @Liam can help us? Thanks