Skip to content

Conversation

@scottcase
Copy link
Contributor

I added a file_size validation function so you can do something like

$is_valid = GUMP::is_valid(array_merge($_POST,$_FILES), array(
'title' => 'required|alpha_numeric',
'image' => 'required_file|extension,png;jpg|file_size,500kb'
));

or

$is_valid = GUMP::is_valid(array_merge($_POST,$_FILES), array(
'title' => 'required|alpha_numeric',
'image' => 'required_file|extension,png;jpg|file_size,5kb'
));

thowen and others added 30 commits October 31, 2017 19:10
German translation file.
New methods to validate Persian/Dari/Pashtu names, text, and digits
carácteres does not use á, more info here -> http://www.fundeu.es/recomendacion/caracter-y-caracteres-no-caracter-ni-caracteres-1386/ (in spanish, sorry)
fix "coquilles" in french translations.
Fixed : Credit Card Validation not working if all alphabets are enter…
This rule Regex is more powerful and accepts more characters than previous rule.
`\p{L}` matches a single code point in the category "letter".

For example:
"cœur" or "sœur" in french is not supported with the previous rule.
Errors' translation in dutch (nederlands)
Add Twitter Username Validation
New Regex for the rule valid_name() and error's transalation in dutch
Bring Fork Up To Date
Revert "adding indonesian language"
@filisko filisko changed the title Add file_size validation Add file_size (mb) validator Feb 28, 2020
@filisko filisko force-pushed the master branch 2 times, most recently from 3386f67 to 948fd96 Compare July 15, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants