325 questions
-2
votes
2
answers
76
views
Bootstrap 5.3.5 disable submit button doesn't work [duplicate]
I have the following form:
<form id="chatForm" name="chatForm" action="{{url_for('home.invoke')}}" method="post">
<div id="message-box&...
0
votes
0
answers
30
views
HTML/JavaScript: Execute form submit checks on button-press; is it possible in an elegant way? [duplicate]
I wrote an input form that has input elements with the required attribute set.
So when pressing an <input type="submit" /> button, empty fields (and other violations) are complained ...
0
votes
0
answers
22
views
Problems with HTML Form and using PHP with Wamp [duplicate]
I wrote a working html file, and I want to send the information to a PHP, but the format is wrong, and I don't know how to fix it. I'm also new to this too.
This is the html and I'm pretty sure it ...
0
votes
1
answer
53
views
Action on document.getElementById is not redirecting me to created upload link
I have an HTML page where users choose files and upload them to a URL through pressing a submit button. This button redirects the user to the URL while also submitting the file to the URL. Currently, ...
0
votes
2
answers
460
views
Once the "Submit" button is clicked, the program will output the date onto the screen
I'm new to C# and HTML and trying to write an expiration date calculator for our labs using Blazor. I have the logic all figured out behind the output besides the specific date format according to the ...
0
votes
1
answer
334
views
How do I add a comment into an IIS Log file?
I have a simple html file on an IIS server that asks a user to enter a code:
<form action="educational_page.html" onsubmit="myFunction()">
Enter CODE: <input type="...
1
vote
2
answers
2k
views
How to get the URL of a type 'submit' button during Cypress test?
Below is a submit button on the page I am trying to test.
When you click this button, a pop-up window is displayed. The URL of this pop-up is https://login.microsoftonline.com/........etc.
This sign ...
0
votes
1
answer
1k
views
Inline error message still displayed after the user adds text to input fields
When users click submit, I've coded an error message to appear under each input field that is missing a value using DOM selectors. I also disabled the email file that opens when submit is clicked, ...
0
votes
1
answer
234
views
unable to pass data via onClick event react
I tried to send "price" by clicking on the button to MongoDB. the backend works fine because I'm able to store data via postman,
the React Code:
import axios from "axios";
const ...
1
vote
0
answers
111
views
Submit only sends the result of one option group
I'm really beggining with php but have a little of experience programming in C. So was trying to make two labels options to add one of each category, finally show the results with a submit button. But ...
1
vote
1
answer
605
views
Passing an object Id by submit button in order to find and change value in array after submiting (react)
I want to update a value of an object nested in array after choosing new date from select button and then submiting it in order to change it.
The button (select) is nested with a rendered array object ...
0
votes
2
answers
2k
views
Getting text from input element (type=submit) using Selenium
I'm experimenting with some web test automation.
For practicing I took Sause demo site
It has login button defined on page as
<input type="submit" class="submit-button btn_action&...
0
votes
1
answer
440
views
Is there another way of linking a submit button in a form to another page without using action attribute?
I developed a website that contains submit buttons that are linked to other pages on my website. I used the action attribute for the links, but it happens that GitHub doesn't support action attributes ...
2
votes
3
answers
5k
views
Prevent method Post form from refreshing
I have a form with method Post and action with URL, when I click button to submit, after submitting, it gets refreshed. I want to prevent from being refreshed.
I used:
onsubmit=";return false&...
2
votes
2
answers
2k
views
Is it possible to convert a text to URL format using javascript
Basically I want to know that how to build code snippet so that when a user input text and click on the submit button. Automatically add https:// as prefix and .com as suffix and build a valid urls ...
0
votes
1
answer
695
views
How to know if 'input submit button' is clicked (wordpress)?
I need to know if 'input submit button' is clicked.
I tried following php codes, and clicked a save_progress button, but it echos 'EMPTY'.
Would you please let me know how to know it the button is ...
1
vote
0
answers
2k
views
Gravity Forms add onClick action to submit button to show message
So I have the gravity forms in a popup modal called #learn-more. But when the user clicks submit on the Gravity Forms form, the modal closes without any visible message (if the modal button is clicked ...
0
votes
1
answer
630
views
onclick event not working for multiple functions together
onclick event
<button type="submit" value="submit" class="login100-form-btn" onClick="this.validate-input">
Create Account
</button>
and
<button ...
0
votes
1
answer
271
views
Blueimp jQuery-File-Upload basic plugin shows unwanted submit button in ASP.NET MVC view
I have a task to edit one of our older companny asp.NET MVC app, where we uploading files using flash (uploadify) to this times. But now, we want to use Blueimp jQuery-File-Upload basic plugin.
...
1
vote
0
answers
804
views
On click of submit how to display the table and pass the form value to backend in html and js?
I'm developing an HTML page that accepts the date value as input and needs to display the data in a table based on the dates.
On page load, I'm displaying the Date field and Submit button.
On click of ...
1
vote
0
answers
391
views
Formik button won't render with Scrollview
Working with a long form in Formik that needs Scrollview. Scrollview works for the form; however it will not render the submit button at the bottom of the form.
Can I define the form with a container ...
0
votes
0
answers
77
views
"Return" button on Android and iOS decreases value of input type="number"
I`m writing simple component on Angular. Basically this is input with two separate buttons (one for increasing other for decreasing number in input).
Everything works fine, but my QA said that on ...
8
votes
2
answers
12k
views
Multiple submit actions with multiple submit buttons in asp net core razor page
I have a razor page with a form and multiple submit buttons. with each button I want to start a different Post action in my codebehind file. so this is in my cshtml page:
<form class="form&...
0
votes
2
answers
417
views
clear controlled components in a form using react after clicking submit button
I have created a form to enter name, email, website and message. After entering the details using submit button I want to reset all the fields. I don't know how to use control component. Please help..
...
0
votes
0
answers
21
views
document.getElementById('#symbol').onchange not firing - no clue why? [duplicate]
I've spent some time on trials and errors, and I can't figure out why the onchange in the script below is not firing when a user changes the selection in the form. Any help please?
<form action=&...