I have a django html form for address information. There is standard street, city, state/province, postal code, country fields. The country field is a drop down list. How can I make the state/province field a drop down list if the selected country is united states and a free form text box if the country is anything else?
I'd prefer n...
Has anyone found a good method to balance option lists, such that both can modify the other? I have a list of trims, and model_numbers, and either one of these can result a one to one match.. If however, there is no one to one match, I'd like trim to narrow down model_numbers and vise-versa. I don't ever want incompatable options...
I c...
Hey guysi was making one web sites. in that, there is one page on which i have one form, so in thati want two thing done on same data.1) it should store in the database 2) that form data should also to be send on one email account.
i know i can do this if i use "mail" function of php and on that same php file, i can store that. but i d...
I have to create a HTML form and get the data using python-cgi. HTML form requires user to submit firstname and lastname and then the python script is supposed to get the data generated in the form. I have read up tutorials and tried playing with it to make it work, but it does not seem to happen.
HTML code:
<form method = "POST" actio...
I am trying to clear the values contained within a form using an HTML input type reset. It seems fine and resets the values in Safari and Firefox, just not in Chrome (Mac OSX). Does anyone know a way around this without writing javascript to do it? (I have done it this way before but want to avoid it)
<form ... >
<input type="text" ....
Hi,
I want to beable to select an option in a select by the value that has been gotten from the session is this possible? So eg in my list:
Book
Conference
Journal
And for example book was in the session so it selects the book in the drop down menu.
Thanks in Advance
Dean
...
Hi,
When a form is passed in to a servlet are empty fields "" or null? So for example in a form where you have First name as a field and last name as a field
Dean - First Name
- Last Name
So what is it registered as in the servlet?
Thanks in Advance
Dean
...
Literally yesterday an application I am developing does not post any form inputs and instead using HttpFox watch tool I am seeing the following as the POST data.
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
When running the application locally with ASP.NET development server I cannot post the form using any browse...
I have simple form with a textarea and a button, and I submit the form with jQuery .post() function and in 'json' format.
My form submits correctly until I wrote some html tags like bold etc. in the textarea, then the form dose NOT sumbit to server anymore.
I don't know what is wrong with what I'm doing and how do I get html segments s...
Hello, (Hallo!)
I'm searching an abstraction layer from pure HTTP-POST/-GET using curl. It should somehow make it easy to define the Targeted script and it's variables.
I read something exists in the FreeX (german unix/programming magazine), but don't have the named magazine at hand.
What can I do?
Stick with curl?
What alternatives...
Hi,
Which advantages have definition list (<dd><dt> etc..) and when we should use it?
(Example: use in Zend_Form, but i dont understand why)
Does exist other better options?
(I beginner, but its look to me that is xml use inside html.
If I right XML not wide used recently because yaml, file.ini, json each of them in their field more e...
Ok, I'm really starting to have a bad day and the ol' brain isn't working. I can't think of what I should be searching for, or even find previous examples of this kind of thing.
I have a HTML form with three fields;
select: disposition_status
text: disposition_datetime_hasrecord
text: disposition_description
The select field disposi...
Hi,
Where to put around other html element or not?
Option1- put around input element :
<label>Url:
<input type="text" size="350"/>
</label>
Option2:
<label>Url:</label>
<input type="text" size="350"/>
Thanks
...
Hi,
Ajax Jquery form not working vs div why its happen and how can i fix my error?
view.html-Code with form
not working
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
</head>
<body>
<form id="parse-form" action="#" method="post">
<butt...
Hi,
Should I use in this case method="post" or method="get" for ajax form submission?
Update:
When should be used post and when get in case of ajax form submission?
<form action="script.php" method="post">
<label>Url: </label>
<input value="http://" id="url-input" type="text" size="100" /><br />
<label>paste html file source: ...
I am using CKEditor, jQuery and jQuery form plugin and I would like to submit contents of the CkEditor form via an Ajax query. Here is my code:
<form id="article-form" name="article-form" method="post" action="/myproject/save">
<textarea name="bodyText" style="visibility: hidden; display: none;"></textarea>
<script type="text/javas...
Hey guys,
What is a common way to pass data for formula fields, to specify a quantifier. I would currently do as follows:
<input type="text" name="myfield" class="inputfieldstyle quantified" id="q_12" value="foo" />
where q_12 is generic.
But there some inherent problems with the approach:
What if i want to give it an id for some ...
I am currently working on a project that needs to be able to set the value of an input element of type "file" in an HTML document using mshtml.HTMLInputFileElement. I am having a great deal of difficulty doing this.
First I tried this:
IHTMLInputFileElement element = (IHTMLInputFileElement)args[0];
string filename
element.value = new...
Been searching for this for over a day on google without any answers. Finally putting fingers to keyboard for this. So frustrating!
I'm trying to learn MooTools and am a TOTAL javascript noobie so please be gentle with me.
Okay, what I'm tying to do is to change the state of a disabled input field (type is text) when a particular optio...
Hi,
here's my call to the validate function. Everything works fine with this code.
$('#createForm').validate(function () {
});
But when I try to modify it a bit, the whole validation stop working:
$('#createForm').validate(function () {
errorPlacement: function(error, element) {
error.insertAfter(eleme...