Joined July 2013
·
Posted to
Laravel Validator: Require fields based on other inputs
over 1 year
ago
Thanks - This is very useful.
I'd like to take it a step further and make the fields "appear" within the page only when required, i.e. if "I use a framework" is set to 1, then make field "Which framework do you use" appear.
Is this something you've done, or do you know where I can find some sample laravel and/or boilerplay code?
Achievements
38 Karma
0 Total ProTip Views

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Charity
Fork and commit to someone's open source project in need

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Nephila Komaci
Have at least one original repos where PHP is the dominant language
Forgive my ignorance, but why is this a better way? Performance improvement or merely "neater" coding?