jeudi 31 décembre 2015

laravel5.1 validate number

How to validate numbers using laravel validator. In my case I need to validate if a number is between "1.00" and "50.00".

As seperator between the number pairs the "." and the "," should be allowed. The number should have only two decimal places. Is there a way to get this done using standart laravel validators combined?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire