New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of validation class for review / feedback ... Do Not Merge #518
Conversation
Signed-off-by:Spuds <spuds@spudsdesign.com>
! Add ability to sub var names with text in error strings Signed-off-by:Spuds <spuds@spudsdesign.com>
Signed-off-by:Spuds <spuds@spudsdesign.com>
@@ -819,7 +910,7 @@ protected function _validate_php_syntax($field, $input, $validation_parameters = | |||
* - Gmail user can use @googlemail.com instead of @gmail.com | |||
* - Gmail ignores all characters after a + (plus sign) in the username | |||
* - Gmail ignores all . (dots) in username | |||
* - ahole@gmail.com, a.hole@gmail.com, ahole+big@gmail.com and a.hole+gigantic@googlemail.com are same email address. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ROFL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👼 You can see I was "dealing" with someone when I wrote that .... figured I should improve my comments
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Thanks for providing your feedback TE ... I'm going to close this since the intention was to get input, and I guess I've now got all that. I'll keep a branch in my repo should we decide this is Elk worthy 😉 |
Sorry, but these last two weeks have been a bit busy... 😢 And anyway...do you expect meaningful feedback from me apart from: MERGE IMMEDIATELY!!? 👼 |
No worries ... TE had some good suggestions that I put in place, now I'm hunting for places I can use it as well as possibly feeding the results to the error class (assuming I don't get distracted by something else 😀 ) |
This adds a new checks to the validation class and then puts it to use in one form (email topic). There are several places this can be done but wanted to get feedback if we want to do this and do it in this way.
This was the intention of the class (well my intention), to centralize these types of checks and make adding / changing validation an easy process as well as provide more complete feedback on form data issues.
At some point it seems like this could be linked / report to the error class but thats another refactor at some point.