Size: a a a

2020 July 22

Д

Дмитрий in Yii Framework 3
this way you will got 0 if checkbox unchecked
источник

Д

Дмитрий in Yii Framework 3
old trick
источник

L

Lihin in Yii Framework 3
Old trick but im new to yii
источник

L

Lihin in Yii Framework 3
😅
источник

L

Lihin in Yii Framework 3
Wait
источник

Д

Дмитрий in Yii Framework 3
Lihin
Old trick but im new to yii
then ask all questions at @yii2ru pls/ there is dev chat for yii3
источник

AM

Alexander Makarov in Yii Framework 3
Алексей R
yiisoft/event-dispatcher ведь более-менее стабилен?
Плюс-минус да.
источник

L

Lihin in Yii Framework 3
Lets say i have a form with textfields, a checkbox and a  button. The button is disabled unless i check the checkbox. And lets say again, someone used Inspect Element to remove the disabled attribute. They can only proceed to submit the form only if the checkbox is checked. What i mean is if they used inspect element, the checkbox will display something/ a message like "Please tick the checkbox before proceeding"
источник

AM

Alexander Makarov in Yii Framework 3
Концептуально там проблемка..
источник

L

Lihin in Yii Framework 3
Lihin
Lets say i have a form with textfields, a checkbox and a  button. The button is disabled unless i check the checkbox. And lets say again, someone used Inspect Element to remove the disabled attribute. They can only proceed to submit the form only if the checkbox is checked. What i mean is if they used inspect element, the checkbox will display something/ a message like "Please tick the checkbox before proceeding"
Anyone understand this?
источник

AM

Alexander Makarov in Yii Framework 3
Lihin
Lets say i have a form with textfields, a checkbox and a  button. The button is disabled unless i check the checkbox. And lets say again, someone used Inspect Element to remove the disabled attribute. They can only proceed to submit the form only if the checkbox is checked. What i mean is if they used inspect element, the checkbox will display something/ a message like "Please tick the checkbox before proceeding"
Isn't that regular "required" validator?
источник

L

Lihin in Yii Framework 3
Alexander Makarov
Isn't that regular "required" validator?
Yeah maybe something like that i dont know sorry im new to yii
источник

AM

Alexander Makarov in Yii Framework 3
Lihin
Yeah maybe something like that i dont know sorry im new to yii
Starting right with Yii 3?
источник

L

Lihin in Yii Framework 3
Im using yii2
источник

AM

Alexander Makarov in Yii Framework 3
Lihin
Im using yii2
Then it's a wrong chat :)
источник

Д

Дмитрий in Yii Framework 3
Lihin
Lets say i have a form with textfields, a checkbox and a  button. The button is disabled unless i check the checkbox. And lets say again, someone used Inspect Element to remove the disabled attribute. They can only proceed to submit the form only if the checkbox is checked. What i mean is if they used inspect element, the checkbox will display something/ a message like "Please tick the checkbox before proceeding"
i can use console to disable validation at all, and submit form unvalidated. for this use-case you should preform server-side validation too. if it's Yii2, google Yii2 required validator. and please, use @yii2ru chat. this chat is about Yii3
источник

AM

Alexander Makarov in Yii Framework 3
But I can say validation is documented quite well.
источник

L

Lihin in Yii Framework 3
Дмитрий
i can use console to disable validation at all, and submit form unvalidated. for this use-case you should preform server-side validation too. if it's Yii2, google Yii2 required validator. and please, use @yii2ru chat. this chat is about Yii3
Thank you sir
источник

L

Lihin in Yii Framework 3
Alexander Makarov
But I can say validation is documented quite well.
Thank you too sir
источник

AM

Alexander Makarov in Yii Framework 3
Алексей R
yiisoft/event-dispatcher ведь более-менее стабилен?
@roxblnfk к чему вопрос?
источник