Item UI Component and confirmation modal

sarahpho
Tera Expert

Hello, 

 

 

We have a custom UI Page that embeds the Catalog Item component, which renders a Record Producer form.

 

The client wants a confirmation modal to show when the user clicks SubmitThe form must be sent only after the user clicks the modal’s Confirm button; cancelling should abort the submission.

 

The issue is that the g_modal API does not seem to work in this case ( we got the error g_modal is undefined ) in the console

 

I tried to add the modal directly into the page in UI Builder but there is no way to block the submission of the form until the user clicks on the modal's Confim button.

 

Do you have any idea how to achieve that ? Thanks 

0 REPLIES 0