HTML forms are used to pass data to a server. A form is essentially a container that can be used to hold any amount of any subset of several types of data.
0
votes
1answer
7 views
In Rails, How to construct a multiple input field form for same database field
I've just started Rails and I'm working on a simple logging app where I have a database (Mongodb) and Rails 3.x.x
The user is going to input, via text_area, 3 short text (:what) that will be stored ...
3
votes
1answer
26 views
Execute code as soon as form has been reset
How can I run a piece of code as soon as a form has been reset?
The reset event fires before the form fields get reset to their default values. So, for example:
$('form').on('reset', function(e) {
...
0
votes
1answer
17 views
Why won't these HTML form buttons display inline?
I am trying to get form buttons to display inline in a row. I am using CSS to style HTML output from someone else's script, so I have to understand the structure in HTML. I can't change it to ...
0
votes
1answer
27 views
updating sql table for selected check box values
I dynamically create table rows with checkboxes. Check a few of them and then perform and update query on the selected ones. But the problem I face is that only the first selected record gets updated ...
0
votes
1answer
26 views
access denied error after submitting php.mysql form
Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user '...'@'localhost' (using password: YES) in on line 2
$con = ...
1
vote
1answer
17 views
HTMLFormElement submit and reset methods relation with event handlers
The HTMLFormElement DOM interface provides the .submit() and .reset() methods, which I'm heavily making use of in my single-page app.
Right now I'm trying to figure out the relation between these two ...
0
votes
2answers
13 views
jquery form submit need twice click-submit for send
I have one form for send and need give 2 clicks for send finally i put my code here :
<script>
function processorform(id)
{
jQuery('.sp-poll-'+id+' form').submit(formProcess);
function ...
0
votes
1answer
9 views
Using Session Tracking for Multipage Form in PHP
I'm trying to display a multiple page form that preserves submitted data from one page to the next using session tracking. $_POST['stage'] determines which form should be displayed. Each form has a ...
0
votes
0answers
25 views
PDF to HTML Form in Python App
I have a web app mainly written in Python/Django that is very form dependent for storing user information on the backend. I would like to use existing PDF's for standardized/regulated documents ie: W4 ...
1
vote
3answers
36 views
Access values of multiple checked boxes
I want to access the values of dynamically created check boxes.
@ $db = mysql_connect("abc", "abc", "");
mysql_select_db("abc");
$strSQL = ...
0
votes
3answers
47 views
Javascript / Form
I'm working on a project that will use loops to add many forms into a mysql database. In the javascript section i can not get the var i to work inside the function updatesum(). Can someone help me ...
0
votes
1answer
44 views
PHP - Submit form with HTML tags
I need to submit a form using PHP to send it to CouchBase and store it there with the HTML tags included (<p> tags and what not, just basic HTML). I am using CLEditor to create the HTML tags for ...
0
votes
1answer
17 views
MVC Razor form closes immediately after opening?
I have a table that displays some data as well as an "Edit" button, and when the button is clicked the row is replaced with a Partial View that contains a row with input controls for changing the data ...
0
votes
1answer
26 views
How to get number of inputs from a form
In python appengine, I need to determine the number of input boxes that are received into the post method. It will be a variable number known to the get method, but I don't know how to pass that ...
-3
votes
0answers
24 views
Get cookies from server response [on hold]
I'm trying to login (with a java code) a webpage which uses a login form. After sending the first get request to the server I get the login page source and the cookies.(I'm using ...