Ad

Display Message After Submit Button

- 1 answer

I am trying to display a message if the user click in the submit button and the form is valid. I am using Shopify for that. Is there a way to do that with JavaScript or in Liquid?

Thanks in advance.

Ad

Answer

you can add onclick event and write javaScript code to validate this ex

<script type='text/javaScript'>
function do()
{

}
</script>
<input type='button' onClick='do()'/>
Ad
source: stackoverflow.com
Ad