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
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
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
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’
4 matches
Mail list logo