📜 ⬆️ ⬇️

Dynamic forms without using JavaScript in a couple of minutes

Hello!

Today I will talk about the functionality of Dynamic Forms , with which you can set certain rules for fields, i.e. show or hide fields depending on user input.

Rules for the forms MyTaskHelper can be set for each of the field types. Creating a dynamic form is very simple - all you need to do is to add at least two fields to the form. Then for the object (field on the form) - specify the condition and set the required value. When the condition is met, you can hide or show the second field on the form.
')
This option will significantly increase the functionality of your form, make it more convenient to use.

As an example, the order form of cars is shown in which, depending on the brand of the selected car, models of this brand appear on the form.




Login and password for test drive test .

We will be glad to hear from you constructive suggestions for improving the functionality of the service.

Thanks for attention!

Source: https://habr.com/ru/post/110605/


All Articles