nette / docs

📖 The Nette documentation
https://nette.org/en/writing
116 stars 283 forks source link

References Between Controls - more clear description, better code sample #1015

Open mildabre opened 1 year ago

mildabre commented 1 year ago

addRule() with reference to another form input is in practice mainly usable in case of comparing equality of two text inputs - input of password or email or another important data for better control. Thats why I propose to add into paragraph heading "comparing controls" and replace unpractical code sample with usable code sample for check input of new password.