Dear members,
I wanted to validate the form which contains the name, phone number,
address,email, etc..,
I have developed and tested it if we give any character it’s saving to
database table.so I wanted to validate the every field for example
In name field it should take only alphabets,
And in phon
How to use django custom validators to verify form fields data
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubs
Hi.
Usually you validate user input and by using Forms or ModelForms.
to 11. heinäk. 2019 klo 12.50 Irfan Khan kirjoitti:
> Dear members,
> I wanted to validate the form which contains the name, phone number,
> address,email, etc..,
> I have developed and tested it if we give any character it’
Yeah currently I do have modelforms but I need to know using regular
expression can we done
On Thu, 11 Jul 2019 at 6:36 PM, Jani Tiainen wrote:
> Hi.
>
> Usually you validate user input and by using Forms or ModelForms.
>
>
> to 11. heinäk. 2019 klo 12.50 Irfan Khan kirjoitti:
>
>> Dear members
Yes you could validate user input using regular expression. Explore the re
module.
Best of luck
God Bless
On Thu, 11 Jul 2019, 11:22 p.m. Irfan Khan, wrote:
> Yeah currently I do have modelforms but I need to know using regular
> expression can we done
>
> On Thu, 11 Jul 2019 at 6:36 PM, Jani Ti
It sounds to me like you may want to use validators for your form. Here
are two links that might help you out:
https://stackoverflow.com/questions/17165147/how-can-i-make-a-django-form-field-contain-only-alphanumeric-characters
https://docs.djangoproject.com/en/2.2/ref/validators/
On Thu, Jul
Have you already read
http://docs.djangoproject.com/en/1.2/ref/forms/validation/#ref-forms-validation
?
On Mon, May 31, 2010 at 9:16 AM, tazimk wrote:
> How to use django custom validators to verify form fields data
>
> --
> You received this message because you are subscribed to the Google Group
yes, I have read that section but right know I am using Django version
1.1 which does not support some new built in validation functions .
Also, where should valiadtions be done ideally server side or client
side i.e using javascripts etc ?
On May 31, 1:01 pm, Horst Gutmann wrote:
> Have you alre
Well, since validators were introduced with 1.2 you can't really use
them just right away with 1.1. So if zou want to use validators as in
1.2, you probably should update to 1.2 ;-) But there are still all the
other validation facilities available like clean_fieldname etc.
You can find all the det
9 matches
Mail list logo