Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RahulPGS opened this issue May 9, 2021 · 0 comments
Open

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

RahulPGS opened this issue May 9, 2021 · 0 comments

Comments

@RahulPGS
Copy link

RahulPGS commented May 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant