DEV Community

Discussion on: How to Create Forms with Webix JavaScript

Collapse
 
kevinmmansour profile image
Kevin M. Mansour

This article is well written. But, I will note some formatting stuff:

First of all, please format your code. For example, you made "clearValidation()" bold but that is incorrect, it should be formatted as code using backticks, like clearValidation() & like webix.rules.isEmail.

Second of all, you should specify formating language when adding plain code, as you are using JavaScript, so you should add "javascript" above the three backticks when adding plain code to make the code highlighted. Like:

function goNextCustomHandler(){
    $$("id_of_next_form").show();
}
Enter fullscreen mode Exit fullscreen mode

Better than:

function goNextCustomHandler(){
    $$("id_of_next_form").show();
}
Enter fullscreen mode Exit fullscreen mode

Otherwise everything is great, thanks for the great article.

Collapse
 
serhiipylypchuk1991 profile image
Serhii Pylypchuk

Thanks for your feedback, Kevin) I will take into account your suggestions