Questions tagged [submit]

Refers to the action of sending data to a specific destination.

Examples include HTML form submission and the jQuery submit function.

5297 questions
31
votes
4 answers

Multiple submit buttons php different actions

I have a website started where I want to have 2 separate submit buttons, one of which will take data entered and do some calculations to it to display on the same screen. I've got this successfully working with:
Joegramming
  • 333
  • 1
  • 3
  • 6
29
votes
3 answers

Multiple submit buttons in Blazor EditForm?

Using AspNet Blazor and its EditForm: I am creating a simple form that should contain both an update and a delete button. I do not seem to find any examples of how to pass parameters to the submit. I have tried to place an @onclick in the delete…
Anders K
  • 473
  • 1
  • 4
  • 7
29
votes
1 answer

How do you make a submit button in HTML5?

Given W3C's HTML5 spec for the submit button: A button element must have both a start tag and an end tag. what's an example of a submit button with a start and end tag?
29
votes
5 answers

C#: How to make pressing enter in a text box trigger a button, yet still allow shortcuts such as "Ctrl+A" to get through?

Sorry for the long title, but I couldn't think of another way to put it. I have this: private void textBoxToSubmit_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { …
Jonathan Chan
  • 2,355
  • 3
  • 25
  • 38
26
votes
7 answers

How to Submit Form on Select Change

I have the following form. I'd like it to be submitted automatically via jQuery when the user makes a selection, without needing to press the submit button. How do I do this?
kmb64
  • 1,513
  • 2
  • 17
  • 29
25
votes
9 answers

Disable/Enable Submit Button until all forms have been filled

I want my form submit button to be disabled/enabled depending on if the form is completely filled. When the inputs are filled, the disabled button changes to enabled. That works great. But I would like it to disable the button when an input gets…
user1912654
  • 253
  • 1
  • 3
  • 5
25
votes
6 answers

How can I make my an image?

I have a beautiful little CSS image that needs to be a button. I've tried about 20 different methods, none of which work. I just either get a blank nothing or a border with nothing inside. The html:…
Lindsay
  • 877
  • 2
  • 12
  • 30
24
votes
7 answers

Clean way to prevent enter button submitting a form

I've seen a lot of Javascript solutions to do this, but I'm sure there must be an easier way. I have a really simple form - one multiline textbox and a submit button. I want the user to be able to submit "formatted" text (i.e. like an email, with…
Ben
  • 4,281
  • 8
  • 62
  • 103
24
votes
1 answer

How make the form password data hidden in Chrome developer tools network pannel when login.do submit?

When the normal log-in in simple html form submitting, Chrome Developer Tools "Network" panel showing form data like this But at the major sites like Facebook, Google... They don't show form data in network panel like this How can do that? Is…
sayingu
  • 2,261
  • 3
  • 19
  • 26
24
votes
2 answers

Model is null when form submitted

When I hit submit, the file parameter is null. public ActionResult Create() { return View(new FileViewModel()); } [HttpPost] [InitializeBlobHelper] public ActionResult Create(FileViewModel file) { if (ModelState.IsValid) { //upload…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
23
votes
3 answers

Clicking submit button of an HTML form by a Javascript code

I don't know much about WEB probramming, so feel free to ask if I'm missing any details. There is a certain website which I'm visiting very frequently, and it requires users to log in every time they visit. For the login page of this website, I'm…
hkBattousai
  • 10,583
  • 18
  • 76
  • 124
23
votes
8 answers

How to prevent multiple form submission on multiple clicks in PHP

How to prevent multiple form submission on multiple clicks in PHP
Marcel
  • 231
  • 1
  • 2
  • 3
23
votes
6 answers

Use Javascript to change which submit is activated on enter key press

I have a form on an HTML page with multiple submit buttons that perform different actions. However, when the user is typing a value into a text input and hit enters, the browsers generally act as though the next submit button sequentially was…
postfuturist
  • 22,211
  • 11
  • 65
  • 85
23
votes
11 answers

Your app information could not be saved.Try again.New iTunes Connect

I regenerate all of the certificates, update the version number of the application, but the problem persists. Follow the below steps. Go to My Apps Page. Remove the Build. Then Save It. Re Add your Build. then Save It. Now try to Submit It must…
Hank
  • 331
  • 2
  • 7