validation

Validation in Ionic Framework Apps with ngMessages

CREDIT : FYI: The general styling of the error messages are adapted from a sample provided by Malixsys on the Ionic Framework forum. I've whined many times about the form validation issues with AngularJS. I finally settled on my own version of dealing with this by using a custom directive. However…

Ensuring Unique Mobile Numbers with Firebase

SUBTITLE : Without getting Snapchatted. Credits: This workflow is based on a Stackoverflow answer from Kato. Quite often, an online service's signup process requires the user to enter their mobile number. They need to make sure the user owns the number and will usually verify it via SMS. However, they can't…

Firebase Validation hasChildren() Pro Tip

So, I'm chugging along with testing data validation in Firebase. Everything was going okay with my tests. I could block invalid data and accept valid data. tl;dr : If you use .hasChildren() validation, you must include a validation rule for every property you are requiring. Original Rules: { "rules": { ".write": false…

Firebase Data Validation

Yesterday, I explained how I chose to start testing Firebase for taking over the Kids In Touch API. I mentioned that all was not roses. I'll go over one of my biggest issues with the service here. Rules Based API With Firebase, you don't write any server side code. Unlike…