Vue.js Conversational Form
Turning web forms into conversations using Vue.js.
Install
Usage
Documentation
The content of the question should be defined in the data-question
attribute.
Multple question options will be seperated by |
. Use inserted values using {value-name}
.
In submit buttons, use data-success
for defining success message.
In submit/reset buttons, use data-cancel
for defining the cancel button's text.
Listen in the parent to submit
event in order to get the submitted data (as an object).
Define a text/email/password input:
Define a radio buttons' group:
Define a select group:
Define a submit button:
Define a reset button:
Use inserted values as a part of a question: