Questions tagged as 'yii2'

0
answers

Hide options in Dynamic forms - Yii2

I need to add a small function to hide the options of _form-opc when selecting the type of question "sustain" of the combobox. Currently I can do it, but only in the first dynamic way, I would appreciate it if you can help me. _Form...
asked by 16.09.2018 / 23:28
2
answers

error loading an image in yii2

good afternoon my project has a client model, a clientController driver and a form guide me in the documentation of Yii2 but I do not give with the problem since it saves all the fields but I do not load the image in the route that I indicated ,...
asked by 05.09.2018 / 22:23
1
answer

Unique Validator Yii2

for the few who use this framework, I am with a problem. There is no way for the validator to work properly, when using it it works and it throws the error message but it also validates it when doing an update, something that should not and does...
asked by 05.09.2018 / 17:25
0
answers

Kartik DateRangePicker

Am I doing a view to download the data from a weather station and I have put a kartik date range picker. I would like to know how I can increase the range of dates that can be selected, since it only allows me to select a maximum range of dates...
asked by 20.08.2018 / 21:58
0
answers

folder error (front / back / common) /test/_support/UnitTester.php

I just downloaded the appi of yii2 by composer , I have managed to download it correctly, and when I include the project in Eclipse , the folders that I mentioned in the title of the question, I was put with X in red....
asked by 11.08.2018 / 13:49
0
answers

DropdownList multiple in relation many to many

I am implementing a selector for multiple options, the problem is that when passing the model when editing the user the selected values do not come out. The problem is that the database has the relation between subjects and users and is not a...
asked by 29.07.2018 / 12:44
0
answers

In Yii 2. How to save several fields in another table in a field, such as a string separated by a comma

Maybe it seems weird what I want to do, but I explain to you What I want is to save in a table, a string formed by a selection of records from another table, separated by a comma. That is, in the form that allows me to make the selection of t...
asked by 19.07.2018 / 19:52
1
answer

Yii2: Validations When Updating Form

I happened to comment I made a form with their respective validations, at the time of writing the username in the form, this validates if the user already exists and in that case reports the error. When the form is to add a user, the validation...
asked by 04.07.2018 / 07:53
0
answers

Validation Alert Form yii2

I would like to know if someone has an example of how I can validate a form in yii2 but with an alert popup, example I have a form which is validated with ajax but I would like to click on the submit button to validate and show a popup with the...
asked by 27.07.2018 / 00:48
0
answers

Problem in composer install --prefer-dist YII2

I present a problem when I execute the composer install --prefer-dist command in the directory of a project in YII2. The error is as follows:    Your requirements could not be resolved to an installable set of   packages.       Proble...
asked by 13.06.2018 / 18:23