325 questions
-2
votes
2
answers
79
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
1
answer
628
views
SwiftUI: How to trigger the onSubmit modifier?
They decimalPad keyboard does not have a return button. So I like to include one using the keyboard toolbar. But how can you create a Submit Button?
struct ContentView: View {
@State private var ...
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
Javascript form submit/click a button to link to another page [duplicate]
I'm writing some automation script to click a button (which directs the browser to another page), but having problem getting the script to work. Note that there is no unique id to get element for.
The ...
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 ...
2
votes
1
answer
118
views
grails: specify form action with button vs input type=submit / g:actionSubmit
I have a form with multiple buttons which submit the form to different controller actions.
This works fine for <g:actionSubmit, but I would like to use <button type="submit" so I can ...
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, ...
1
vote
0
answers
1k
views
Google play organization Developer verification
Hi I'm trying to verify my organization developer account on google play console, I have all the necessary documents but after filling the forms and uploading all the document, the submit button is ...
0
votes
2
answers
463
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
0
answers
60
views
Unable to Press Submit Button
The submit button is supposed to allow me to press it after I type something in the text field. However, It just stays greyed out. Any suggestions?
document.addEventListener("DOMContentLoaded", () ...
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="...
0
votes
2
answers
1k
views
Trigger a button with both Click and Enter key for fetching Javascript
I've been looking for different solutions on the site, but none seem to work for me.
I need to trigger a submit button with Enter keypress event and mouse click, in order to fetch data from a weather ...
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
33
views
How come my simple checkbox form is not completing its action upon submitting
Its a simple form with a action that should go to the "nextPage.html".
it only has 1 input which is a checkbox and a submit button.
const form = document.getElementById('form')
const ...
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
1k
views
Google Sheets: submit button to pass values from Workbook A to Workbook B
I am new to this and I could use some help.
I am creating a very simple form in which a person will enter data in 4 cells, then press a Submit button for this info to be recorded in a different sheet.
...
0
votes
1
answer
236
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 ...
0
votes
1
answer
5k
views
React how to disable submit button until form values are input
I'd like to keep the submit button in my form disabled until the values of the each input are at least one character, not including white space. I tried using trim() and it seems to work until I click ...
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
101
views
Css code for restricting submit button when fields are blank
I need CSS code to restrict submit button if fields are empty.Daily we are receiving 3-5 blank inquiries through our WordPress landing page submit button.
Where to put these CSS codes if any.
Thanks
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 ...
-1
votes
1
answer
41
views
i have html code with JS in it, i have a problem that the submit button not giving me an alert window, can you correct my code?
this is part of my code:
Degree:
<script>
function F2(){
var y = ...
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&...
1
vote
0
answers
430
views
Save button on material Tabel in react is behaving differently, at each refresh
The below code contains the data that will be displayed in react table format. Here Sometimes I am getting intermittent issue while saving the data.
The save button will be enabled only once we do any ...
0
votes
1
answer
441
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 ...
0
votes
0
answers
119
views
How Do I disable the button if the toggle-slide is set false(off state) and enable when the toggle-slide is clicked Using Angular?
Currently, I have a modal popup that has various fields, including dropdown lists . The submit button is enabled when either of these fields is selected or populated. I have recently added a slide-...
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
1
answer
2k
views
Angular ngx-mqtt – Connect to mqtt broker using user inputted values on a form instead of hard coding values in app.module.ts
I’m trying to allow a user to specify connection values to connect to a mosquitto broker via a Angular Material Dialogue Modal though a form, instead of hard coding values into the app.module.ts.
So ...
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 ...
-1
votes
1
answer
130
views
Chrome Extensiom submit button inside anchor tag does not redirect
I'm building a simple chrome extension. In it, I'm trying to make the submit button in a form redirect the user to a different page after submitting the form but I can't get it to work. I have tried ...
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 ...
0
votes
1
answer
684
views
DB. Browser.Sqlite.OperationalError: database is locked
I am trying to submit a form into DB Browser Sqlite. I've created a table. I am able to store the data into Sqlite. However, once I add in a function to execute a cofirmation popup box in submit ...
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
49
views
Second submit button not showing [closed]
I have created a form whose method is "POST" and action is "#", indicating to send the data to the same page.
Now after submitting the form,
A second form appears below which ...
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
144
views
How to detect which button was used to submit the form?
I can't seem to detect a button press in cakephp4. In cake3 it was easy.
In Form I have:
echo $this->Form->button('View Data', [
'name' => 'viewdata',
'type' => 'submit',
'...
0
votes
1
answer
275
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.
...
0
votes
1
answer
594
views
JSP radio button values gives java.lang.NullPointerException
I have a form to which radio inputs are generated using js code. But when I try to submit the form, the selected value is not being sent to servlet and I am getting null pointer exception.
onMyPage....
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 ...
0
votes
2
answers
217
views
Submit button issue
how can i have a submit button which actually is in form and submits the data, here problem is if i move the submit button inside the loop it comes up with every input field requested, how can i stop ...
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 ...
1
vote
1
answer
358
views
Having problems with my submit button in my php/html file [closed]
I am starting now in this whole world of development and I created a PHP file with some HTML included.
in the beginning, the file was called index.html, but then I started using PHP in the file so I ...
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 ...
0
votes
0
answers
586
views
Submit Button doesn't submit in ASP.NET MVC
Submit button doesn't submit out of a sudden in ASP.NET MVC when creating a new user when it worked previously. It did not show any invalid input or valid input. I'm not sure where the problem went ...
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&...
1
vote
3
answers
1k
views
Re-Enable Submit button after doing some Corrections in an Angular Form
I am using Angular8 with Reactive form. Initially I'm disabling the Submit button until the entire form is filled with valid data.
<div>
<form>
...........
</for>
<...
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
2
answers
506
views
Unable to clear input field automatically after clicking on submit (React)
I am new to react, and I am having trouble trying to make the input field clear automatically after clicking the submit button. I believe that I have made the component a fully controlled one by react,...
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=&...
0
votes
1
answer
891
views
Disabling Submit button until required fields are filled using JavaScript
I am trying to disable the form Submit button until the required fields are filled. However my code does not seem to be looping properly through the condition as any input enables the submit button. ...