Specified in the ’s action attribute - /admin/ - and that it ![]() It also tells the browser that the form data should be sent to the URL It also contains some hidden text fields that the userĭoesn’t see, which Django uses to determine what to do next. Type="password" for the password, and one of type="submit" for the elements: one of type="text" for the username, one of how: the HTTP method the data should be returned byĪs an example, the login form for the Django admin contains several. ![]() where: the URL to which the data corresponding to the user’s input should.Typically use JavaScript and CSS as well as HTML form elements toĪs well as its elements, a form must specify two things: Others are much more complex an interface that pops up aĭate picker or allows you to move a slider or manipulate controls will Some of these form interface elements - text input or checkboxes - are built Objects or controls, and so on, and then send that information back to the ![]() thatĪllow a visitor to do things like enter text, select options, manipulate In HTML, a form is a collection of elements inside.
0 Comments
Leave a Reply. |