Button

Submit button on top of the long form

Submit button on top of the long form
  1. Where should the submit button be in a form?
  2. Does the submit button go inside the form?
  3. Can we put submit button outside form?

Where should the submit button be in a form?

Submit buttons are placed at the bottom of the page to optimize top to bottom flow. There should always be two buttons, a primary action button that will commit changes made by the user and a Cancel button that will abort those changes.

Does the submit button go inside the form?

Yes, structurally the submit button needs to be inside a form element for the document to be valid X/HTML. But visually you can position the submit button anywhere you want with appropriate CSS (float, absolute/relative positioning, etc).

Can we put submit button outside form?

For a HTML form element you can put your submit button outside of the form element as long as you have reference the form's id property with the button's form property.

Should authenticated users still see the app's public home page
What limits the access of a component to authenticated users?What does authorization mean for users who have authenticated?Why do we need authenticat...
How to get users to honestly describe work priority
How do you show you prioritize your work? How do you show you prioritize your work?You might say this: “I work best when I have a daily to-do list. ...
Refresh button in addition to 60 second auto refresh?
How do you refresh a tab? How do you refresh a tab?Hold down Ctrl, Shift and the 'R' key. Or Hold down Ctrl and press F5....