Hello, friend, welcome back.
In a previous video, I have discussed some of the attributes, that is the initial attribute.
OK, so now in this video on the discourse about the unattractively also that is that we get attributes.
How can working with this we get so this is also one of the attributes like here, if you want to compare
it with some of these Jemal code, see today e-mail, we have defined some of the placeholder.
Right.
Like I just simply finding it's a place holder seemed a placeholder.
We define some of the things that enter your name or something.
So there is actually one of the e-mail code as a placeholder.
So if you want to use this as a placeholder, in particular, these Shango form, how you can do this
work for doing this, we have to do we have to use that our d we get this, we get attribute.
So if you want to working with these, first of all, you have to define this attribute like I show
you here in particular, that area I want to do.
And we find out that we get OK so that we get a first of all, you have to do we have to define your
our form.
So here I just simply define our D input forms that in the general form we have to import.
So I just simply defined as a form, OK, with these forms I want to define our type.
That means that our field type will be other text.
So I just simply defined the text input
and into this text input area you have to define your dis attribute.
So I just simply define it.
Attributes able to address and include this attribute area.
You have to define, first of all, these attributes.
So that is our attribute name as a placeholder.
Right.
So now first of all, you have to define that your attribute name, and after that you have to define
your value.
That is the attribute value.
So I just simply define our text input field and I just simply define the attributes into these attributes
area.
I want to do first of all, I define another attribute.
So here I define another attribute like as a placeholder.
So just name it as a placeholder and then you have to define your this attribute value.
So I just simply define that value as enter your full name.
OK, so this type of one of the attribute value I have defined in particular that area.
OK, so I think you can all understand about it.
So with this we get you can access the forms that we form.
And then I have defined the text input type into these attributes.
I just simply define our attribute as a placeholder attribute in the placeholder attribute.
I have defined one of the value as they enter your file.
So now let's check this out if you're not here to save all.
So first of all, I want to check our server.
Everything is OK.
Now go our project.
That means our can get the refresh.
Yes.
Now, because your friend now is actually showing us a full name and your full name.
OK, so that is next with our placeholder.
So now if you also want to check our source file again, I just simply opened the source file and the
source file here.
You can see it's now automatically defined our D placeholder attribute as our with this value as they
enter your full name and also into the e-mail, we have some of the defined sound, is that right?
We have some of the defined Saudi style as a style wide E-L high or something like that.
So if you want to add that this style into this Shango form, how can do that work?
It's pretty simple.
Things better.
I want to discuss, first of all, in that e-mail that we seen today, e-mail form types here.
If you want to display a Saudi style, then what exactly you have to do?
First of all, you have to define that as a style right into the style which is defined as a wide.
We just simply define as wide as a 300 pixel or height as a 400 pixel.
This step up one of the instead we have defined.
So if you want to define this type of style into the Django form, then you have to do into this attribute.
That means, you know, we get Syria into the games that our aptitudes I have already found of the one
two attributes as a placeholder.
And here I define that.
Right.
So now I have to do want to add another one, like after this.
OK, I just simply defined the comma.
And then first of all, we have to define our attribute, name or attribute name will be, as E-L say,
the simply different style, and then we have to define that value.
So I have defined that value as a wide I just simply defined as a wide and wide will be as a 300 pixel
for a specific this field.
OK, so I just simply defined as a 300 pixels.
Now let's take this how difficult it is to save all and now go here to the refresh.
Yeah, you can see this field is now becoming updated and now here I just bought some this time I just
put that white as a 300 pixels and I now becoming 300 pixel.
And also if you refresh our.
That being said, our source space, you can see there have also another attribute is added, at least
tied into this e-mail, have defined that value added to the picture.
And also in today's Gmail, some of the time we have some of the dead from.
Right.
So if you also want to define the date form in Django Família, how can do that work?
Uh, like here that is our other field.
And after this.
But after before this, I want to do and take another one.
So here I want to pick another one and I just name it as one of the variables, as a user data, but
they'll be OK.
And then some things we have to define as the forms into the form.
I have to define that our date sorry, our time will be as a date field.
So that is kind of in the form that is in the Django form that also have the default one of the type.
So here I defined the type as a date field.
And here I also want to do and to define some of the attributes as a level attribute, say simply in
front of the label, attribute into the attribute, I name it as a date of birth.
So to simply name it as a date of birth.
So now if you want to check it like I just clicked disable and now go here our the refresh.
So maybe they have some of the or you can see that some of the other as a name form is not defined because
of all, I can say, a spelling mistake, which will be as a form for our M.S. so as to save all.
Yeah, now it's perfect because the refresh that was different here, I have defined find another form
as a data, but that is a full name, date of birth and the email user email.
So right now, we actually don't need this.
OK, so here we don't need this.
I want to do and remove our pieces.
HTML Code seven to remove it, we have to go to our former CMO.
So here we don't need this, Suheir, we don't need this, so that is the form, so our input will be
needed better.
I just simply copied and after this, OK, after this year, I just simply defined our input.
Time will be at the submit name.
I defined submit will submit.
So.
Right.
No, that is so on.
So I just simply removed this form from here like friend because I save all.
Now let's check this out.
Everything is looking great.
Refresh it.
Perfect is now gone.
And also that's what the H Street tech that means here.
I also want to it will be it because save all.
Freesheet perfect, so don't reject our form as a full name of, but use an email and then our submit
form, right.
So here I have defined out this things.
So do this text.
I have already loaded all the toward Django form and then I have defined our subject from perfect and
into this text familiar.
You can see snow on the same line.
So you here, if you want to break it, then you can also break it with using like into the text form
area here.
After that you have to do we have to define the as as if you want to display as you will, then you
can use that.
You will if you want to display as a paragraph then you have to define Aspey.
OK, that means a paragraph.
So now I want to make it clear to save all that I simply defend our form will be now loaded with this
as paragraph.
A freshet, you can see it's not perfectly showing as a paragraph field, but here one takes into the
Daytop part.
So when we using the e-mail code in the e-mail code, we define type as a date.
So if you define the type as the input field, as the date automatically here that was on the calendar
will be loaded.
Right.
But here you can see they have no calendar.
So you have to add this calendar.
So if you want to add this calendar, then you can do that work with this.
We get like into the formula.
So now I want to update our Dejiang of.
All right.
So in the e-mail, what exactly we define, I think you already know about it.
In e-mail we define I just put it on the note for you.
We define as an import field right into the input field.
We define the type and type.
If you define type will be as a date, then automatically it will be created one of the calendar, this
input field area.
So no one to do want to apply this in our triangle form area.
So if you want to apply these in Django for media, then you have to do we have to define that things
with this we get.
OK, so here after that level, I want to define that we get OK.
We just simply defined as we get and into the wiggers, we have to define that same format as a form.
OK, forms.
And then I define that the tax import text underscore import and in the text import here we have to
define our attributes to just defined as attributes.
OK, double ability are as an added attribute here.
We have to define our two of the things.
First of all, it will be for our attributes, our attribute name be as a type.
So just simply defined as the type.
And then also we have to define that value.
Our value will be as a date.
OK, so I just simply defined the date on here specifically, just like the same.
We did that to work in particular that.
I think you already know about it.
First of all, you have to define your attribute name and then you have to define your values.
Right now I to use our date.
So for the reasons first of all, I define our attribute will be as a type and I just simply define
our value will be as a date.
And here you can see I just simply defined the test, put it will be actually as a text input, like
a text input that things on here.
So that is a spelling mistake.
So now you have to define it with these farms, with this form, the raw text input and our attributes,
attributes in the distributed assembly defining perfect note like is able to save all a freshet.
Yeah, you can see perfectly is now updated our time as a date.
So now you can see that the calendar is perfectly now loaded on here.
OK friend I hope is very much clear to you.
So they have a lot of the things you can actually do.
I have a lot of that tubules.
So there is that atomizers attribute.
That is a validation, that is a disability, so that it has changes the billions, everything we will
use in our project.
So we think it's very much essential.
OK, so Hastings's very much.
You live with this Damul code.
So all that attributes I want to share with you so I think is now should be very much clear to you.
I'll give you the next video and discuss about that form submission.
How can working with the form submission in our next video, I will show that things with the live example.
So thanks for watching and I will see you in the next video.