Display Dynamic Message Using DMX-BS4-Alert

I would like to display the error message when an email exists in the database. I have it set up, but the error message is not displayed. It’s most likely due to something I’m not doing correctly. Please see the image below.

dmx-on:error=“alert2.show();alert2.setType(‘warning’);alert2.setTextContent(inp_username.validationMessage)”

Community Page
Last updated: