form

Autocomplete filling out Email/Website/Address in Forms in Flash?

How do websites I've never been to fill out my information (email address, name, phone, etc.)? Sometimes they pick my old email instead of my new one, so they must be reading it from something I might be able to access with some javascript. I would like to be able to do something like this in Flash, so any ideas how I could tap into ho...

How to access Form controls on Postback from Dynamically built form.

I'm adding controls at run-time to the Page Form object. Each control has an Id. On postback, I want to be able to access these controls and their values. Currently, when I do a postback, the form has no controls in the Form.Controls Collection. How can I rectify this? Is this only possible if you add the controls to the page every ...

How to pass values of a form to the sever with Ajax and Jquery?

How to use Ajax and Jquery to send all the values of input elements within a form to the server? The input elements are dynamically generated so a list of input names in an Ajax post is troublesome. So is there an elegant way to do it? ...

Creating a Form In C++

Hello, I'm just starting to use MetroWerks CodeWarrior 1.1 For Mac 68k in a Mac System 7.5.5, but I need to know: How can I create a simple Form with a TextBox on it? Thanks. ...

Problem with caching (maybe) when using AJAX and PHP

Hi Firstly I tried fiding some similar posts but could not quite find anything. Mainly because I see this problem in FF and not IE only. I had a web page that was updating a mysql db no problem with some data. Then today, I switched the way it does this so that I can use an ID instead of a value, so for sizes, instead of small, medium ...

Disable "mobile phone" and "fax" from joomla contact information

Hi I have a joomla installation with a contacts form. Specifically, there are two contacts with position, email, name, phone. However, joomla seems to insist on having two empty columns "Mobile phone" and "Fax" that I can't seem to get rid of. Neither contact has a mobile phone or fax, and they are disabled in both sets of contact param...

Is there a way to set the default values for sfWidgetFormFilterDate widget?

I have an auto generated BaseBlahBlahBlahFilter.class file in my /lib/filter/base/ folder. It contain the following line for 'data' type field : 'date' => new sfWidgetFormFilterDate(array('from_date' => new sfWidgetFormDate(), 'to_date' => new sfWidgetFormDate(), 'with_empty' => true)), When the form loads it shows me empty va...

Cross-site tomcat form post not working

Hi, For a customer, I need to write a Servlet which can print values in a form post. The form is hosted on another server and looks somewhat like this: <form action="http://myserver/myServlet" method="POST"> <input type="text" id="someName" value="someInterestingValue"/> <input type="submit" value="submit" /> </form> I have a Tomcat ...

IE prompt about unsaved form data

I'm having an unexpected "annoying" popup in IE7 (and possibly other versions). As expected IE prompts you about unsaved form data when closing the window which is fine. But I have a form inside a div and now when I toggle the display CSS style between none and block, IE thinks I'm closing the form with unsaved data and shows the warning...

Delphi Form Painting Black Flash When Restoring

When I minimize and restore my Delphi application, the window contents flash a horrible black before (re)painting on Vista/Win7. This can also be seen with the Delphi 2007 IDE - the Object Inspector, Project Manager, Messages window (but not the editor contents) also flash black when restoring. None of the ususal flicker-free painting t...

chinese search form in flash

hey!! i'm working on a menu with a search field, all this menu is done in flash, on the english side works perfect, you write "dah" and it searches for "dah" but on chinese, you write "餅" it posts "??" instead the characters that i want to search for. I changed the encodig, but it just got things worst, i just can write squares if i ch...

Post the checkboxes that are unchecked

I've got a load of checkboxes that are by default checked. My users will probably uncheck a few of the checkboxes (if any) and leave the rest of them checked. Is there any way to get the checkboxes that are NOT checked in a form post, rather than the ones that are checked? ...

MDI Child Form Start Position Problem

Hi: I am having this strange problem with the start position of the MDI child Form. Here is my code for the start position, I wanted it to be the middle left of the MDI Parent Form. //show the task bar ChildForm c1 = new ChildForm(); c1.MdiParent = this; c1.StartPosition = FormStartPosition.Manual; ...

Is it redundant to use the "name" attribute for input fields in modern web development?

Hello, I've noticed a lot of websites with form(s) containing input fields whose "name" attribute is specified even if it isn't used for styling or scripting purpose! Moreover, according to the official document about the form in HTML document ... name = cdata [CI] This attribute names the element so that it may be referred to ...

Can't get JSF input field value on JAVA backend

Hello. I have following UI part on JSF - it's simple search form with input field and submit: <h:form> <h:commandButton action="#{operation.found}" value="#{msg.search}" /> <h:inputText name="searchParam"/> </h:form> And correspondingly, on backend, i attempt to get value of input field next way: public List<Store> getFound() ...

Jquery to target same id as class name of clicked element?

I'm trying to use jquery to enable a form button only after a radio button has been selected. It's a t-shirt shop where the user is required to choose a size before the 'add to cart' button becomes enabled. The html looks a bit like this: <input class="radioclick product21" type="radio" name="variation[variation_select_21_1]" value="1">...

why the jmeter not work ?

I use jmeter to record the requests and then perform a performance test. after i records all the requests with proxy server. and these requests contain post form. after that I run the test cases, but I found the post form not work, it can not create a record in website's database automatically. but before that i used webload, everything ...

Insert multiple rows into mysql with php using foreach arrays

Im stuck, been trying to figure this out for 2 hours now. I have figured out the foreach loop, but cant figure out how to insert the data now. here is my php, what am I doing wrong? $query = "INSERT INTO images (thumb_path, image_path, main_image, project_id) VALUES "; foreach($_POST as $key => $value) { $query .= "$thumb_pat...

Jquery dynamic rows with form

I am trying to change 'inputs' in this demo to 'selects'. The demo works fine, which is at: http://devblog.jasonhuck.com/assets/infiniteformrows.html The problem with modified is is everytime you click on add new row, it loses previous row selection, what was selected. <html> <head> <title>Infinite Form Rows</title> <scrip...

form with no action and where enter does not reload page.

I am looking for the neatest way to create an html form which does not have a submit button. That itself is easy enough, but I also need to stop the form from reloading itself when submission-like things are done (for example, hitting enter in a text field). ...