Category "forms"

Is it possible to have a form submit a comma separated list via GET?

Let's say I have a form that contains a whole bunch of check boxes with the same name, c. Each checkbox has an integer value assigned to it. When the form is s

Can you pause a form submission and then restart

Without using any JS libraries, is it possible to pause a form submission, run some code and then restart it? Reason I ask is that I currently have a form that

Django, show ValidationError in template

I create a registation app, where users can register providing a username, email and a password. What I did is make sure that the email field is unique(as you c

Check if form field changes

I have some form fields like <input>, <textarea>, <dropdown> etc. If a user make a change in any form field it should be prompted at once that

HTML input type=file, get the image before submitting the form

I'm building a basic social network and in the registration the user uploads a display image. Basically I wanted to display the image, like a preview on the sam

Selecting div's href's and submitting form?

I have this code in my html: <div id="div1"> <a href="a"> Apple </a> <a href="b"> Orange </a> <a href="c"> Lemon </a>

html-php form submission after validation through JavaScript [closed]

What I intend to do is : first validate a form and then process if some conditions are satisfied. I have pasted the prototype of my code below

POST form data using WinInet c++

I'm trying to make this program connect to a website and submit form data in order to login, but I don't know what I'm doing wrong. I have heard of others like

Javascript anchor href change and form post

I have a form coded like below. Basically the href value for the anchor tag is determined by the value selected in a dropdown. <form name=xyz method=post>

Javascript mouseover event to change form submit button image

I am attempting to dynamically change the "src" attribute of a form submit button via JavaScript by containing the form element within a link in order to captur

How to remove 'autocomplete disabled' from input field

I have a field in which the user is ask to input a year. My html looks like this <div class="form-group {% if form_search2.year_search.errors %} error {% en

How to apply min and max on textarea?

Is there a way in HTML5 forms to add a min and max character to a textarea? It seems I can apply it to a regular input using pattern. <input pattern=".{3,}"

Hide / Unhide Cloned form elements in jQuery. How?

I can find numerous examples of Hiding and unhiding form elements in jQuery. I can also find numerous examples of cloning form elements in jQuery. But is ther

How to run JavaScript code when a form is being reset?

I know we can attach a handler to the form onsubmit... But how can we add a handler to the form reset event? (usually when clicking on <input type="reset">

jQuery (UI): Detect checking of a checkbox

How can I make jQuery fire an event when a user checks a checkbox? <input type="checkbox" id="test" name="test" /><label for="test">Check me</lab

Form change with JavaScript

I have two drop down lists: <select name="branch"> <option value="b">Blacksburg</option> <option value="c">Christiansburg</option

HTML form with multiple "actions"

I'm setting up a form wherein I need two "actions" (two buttons): 1 - "Submit this form for approval" 2 - "Save this application for later" How do I create an

Results page in other window

I have this simple form: <form method="post" action"."> <input type="text" name="title"> <input type="submit" name"send"> </form> I wan