form

Posting data from one asp.net page to another

Ok I have done enough research on it but cant find the solution. Its from one page of a application to another page of application. Since I would be sending in username and password i cant send it as "getT" so i need to do a "post". I will be using ssl though - not sure if that helps.. so i cant use sessions as its on different apps and ...

How to disable submit button in jQuery if form fields have not been modified?

I have a HTML form that contains text fields, checkboxes, radiobuttons and a submit button. I'd like that submit button is enabled only if contents of fields are modified. Now here is the catch: if the user modifies field contents back to original values, the form button should be disabled again. Original field value "foo" => submit b...

Submit returning the entire page's HTML

Hi, When i submit a FORM on my page, my "response text" returns the HTML of the entire page and not only the FORM that submitted. This is normal? ...

Form generator and data capture PHP application

Hi, Does anyone know of a PHP open source which can generate forms to be deployed across your website. These forms will collect and aggregate the data with in on database. There should also be the functionality to search across the forms (to generate reports and newsletter mailing lists) All the services I have found so far have been...

Ensure a form is posted using zip

I have a form that is posting a pretty long string (60k) that is highly compressible. I would like to ensure that the browser encodes the form data in a zip format to reduce the network bandwidth required, however I am not sure how to do that. Can someone point me in the right direction. ...

How to open a new window on form submit

Hey guys im pretty new to codeing and am looking for a little help. I have a submit form and want it to open a new window when users submits the form so i can track it on analytics. here is the code i'm using. <form action="http://URL at mailchimp subscriber URL.com" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subs...

ASP.Net MVC - Add field to a Create form with add link (without javascript)

I have an MVC application which has a set of fields for contact details to be added for a person (Email, Phone, Fax, AIM... etc). Initially I present a dropdown for type of input and and input field for the corresponding data, along with a link to add a further set of fields. When complete I have a submit button to submit the form. I...

Why won't an HTML form load into a Javascript-created iframe?

So, in pure HTML, I can create a form that loads its results into an iframe (instead of moving the user to the result url). <html> <head> <title>Google Preview</title> <style>iframe { width: 800px; height: 600px }</style> </head> <body> <form method='get' action='http://www.google.com/search' target='results'> <l...

Creating dynamic data entry forms

Hi, I have a small project where I would like to generate dynamic data entry forms with a little bit of logic behind them. A simple use case might be a Football resulting form, so you have a button for a goalscorer, and when clicked the user will be prompted for a player. The form will then send a message (probably to a webservice, but...

HTML Form Library for PHP 5

I am looking for QuickForm replacement. QF has perfoprmance issues with, for example with many optiion in combobox. I would also like something more object oriented, like Zend_Form, but without decorators and so much bloat. OF cource it should be also warning with E_STRICT. Any recomendations? ...

how can I embed an image in a FLEX form item label

I need to include an icon to the left of a label in my form. it would probably work best if the icon was part of the label. it seems to me that a form item cannot have anything preceed the label on the left side, is there anyway around this? ...

Javascript:Block form submit on Enter Key press

I have a web page where i have 2 forms when i click the enter key, I am calling a javascript function to force the page to load another page.My code is function SearchUser() { var text = document.getElementById("searchItem").value; text = text == "" ? -1 : text; var by = document.getElementById("listBy").value; var on=""; if(by==1) { ...

Dynamic form submission using javascript - how to elegant code?

Here is the problem: My page displays a set of items. Each item has a check box associated to it (which is part of a form). User might check any of these check boxes and press 'Delete' button. The same page also has a 'Upload' button which would upload an excel sheet of items. At the moment, my form action sumbits to say : "xyzAction"...

How do I serialize file type input in jquery

Previously using Prototype I could serialize the input type file, it gave me the file name of the file being uploaded but when I serialized the form in jquery I just got the input type text and others not the file how do I do it? ...

Is it safe to use Free instead of Release for modal forms in Delphi?

The Delphi online help says that Release should be used to remove a form from memory. However, in many examples for modal forms I have seen this construct: MyForm := TMyForm.Create(nil); try MyForm.ShowModal; finally MyForm.Free; end; Is Free a safe way to destroy a modal form? As I can see in the source for ShowModal, Application...

Put icon inside input element in a form

How do I put an icon inside a form's input element? Tidal Force theme Got me? ...

Does javascript force specific charset?

I am trying to use javascript, without framework(prototype, jQuery,etc), to insert data passed from a html form to an mysql database. I have managed to get this working but, get a problem with some special characters commonly used in my language(æøå). utf-8 supports these characters, and everything works fine when I skip the javascript. ...

Remove Values from Hidden Div Forms

Is there a way to remove Form input/select values when you hide a div? Example: Let say i have a form that i fill out. I have a couple different choices, each one will show a different div with a different form and hide the rest. But when i submit, it still submits those form values, even when the div is hidden. Is it possible to remov...

Where do form fields in ASP.Net MVC take their values from?

I understand that fields such as Html.TextBox() accept two values, the first one being the name and the second one being the value. And so does Html.TextArea(). But in a case where the form is submitted as AJAX and the div where the form is placed is replaced with a view from the server, the form fields insist on taking the previous valu...

How to dispatch on the result of submiting an AJAX form in ASP.Net MVC?

In ASP.Net MVC, having a form more or less like this: <% using (Ajax.BeginForm(new AjaxOptions() { OnSuccess="onSuccess"})) {%> <p> <label for="Comment">Comment:</label> <%= Html.TextArea("Comment")%> <%= Html.ValidationMessage("Comment", "*")%> </p> <p><input type="submit" value="Submit comment" /></p> <% } %> How c...