eduardotkoller/convForm

data-callbacks not working on data-no-answer=true inputs

RahulPGS opened this issue · 0 comments

I am trying to call a function as soon as a message is displayed. Here is the code.

<input type="text" data-conv-question="convForm also supports regex patterns. Look:" data-no-answer="true" data-callback="rollBackToMain"> <input data-conv-question="Type in your e-mail" data-pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_{|}~-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" id="email" type="email" name="email" required placeholder="What's your e-mail?" data-callback="rollBackToMain">
The issue is that the rollBackToMain is not being called after the convForm also supports regex patterns. Look: message.
But , it is being called after I enter an email to the next input.

Here is the snippet:
conv

Please help me.