form

Binding a form combo box in Access 2007

I've created an Access 2007 form that displays, for example, Products from a Product table. One of the fields in the Product table is a CategoryID that corresponds to this product's parent category. In the form, the CategoryID needs to be represented as a combo box that is bound to the Category table. The idea here is pretty straightf...

re-rendering of combox store in Gwt-Ext

Hi, i've created a Form Panel, and i'm rendering couple of Combo Boxes in the panel with a store which is populated via an response handler. the problem if i want to render the panel again it renders the combo boxes without the store, though i'm re-constructing the panel. i tried to debug to figure out the cause and surprisingly though f...

What Does ActiveRecord::MultiparameterAssignmentErrors Mean?

I have a rails form with a datetime_select field. When I try to submit the form, I get the following exception: ActiveRecord::MultiparameterAssignmentErrors in WidgetsController#update 1 error(s) on assignment of multiparameter attributes If it's a validation error, why don't I see an error on the page? This is in Rails 2.0.2 ...

Change the width of form elements created with ModelForm in Django

How can i change the width of a textarea form element if i used ModelForm to create it? Here is my product class: class ProductForm(ModelForm): long_desc = forms.CharField(widget=forms.Textarea) short_desc = forms.CharField(widget=forms.Textarea) class Meta: model = Product And the template code... {% for f in fo...

Click through transparency for Visual C# Window Forms?

I made a panel and set it to fill the screen, now I can see the windows under it but I want it to be click through, meaning they could click a file or see a tool tip of another object through the transparency. RE: This may be too obvious, but have you tried sending the panel to the back by right clicking and choosing "Send to Ba...

WinForms in Excel (2002)

Good morning, I am about to start writing an Excel add-in for Excel 2002. The add-in needs to call a form. Obviously, I can write the form within VBA. My question is -- is there an easy/good way of calling a .NET (I am using 3.5) from Excel, and have the form be able to write stuff back to Excel the same way a native Excel 2002 form ...

Javascript Post Request like a Form Submit

I'm trying to direct a browser to a different page. If I wanted a GET request, I might say document.location.href = 'http://example.com/q=a'; But the resource I'm trying to access won't respond properly unless I use a POST request. If this were not dynamically generated, I might use the HTML <form action="http://example.com/" method=...

How would you easily validate a JSP option pick list?

I need to validate this simple pick list: <select name="<%= key %>"> <option value="ETC" SELECTED>Select an option...</option> <option value="ONE">Lorem ipsum</option> <option value="TWO">dolor sit amet</option> </select> So the user would never submit the form with the, excuse the repetition, "Select an option..." option ...

How do I upload a HTML form with a username, password, multiple file uploads and then process it with PHP?

How to post a username, password and multiple binary files from a single html form and process it using php? I'm not allowed to use ajax. ...

How to submit form with data before logging someone out?

Hello, I'm using the document.form.submit() function for a rather large input form (hundreds of fields, it's an inventory application). I'm calling this after the user has been idle for a certain amount of time and I would like to save any data they've typed. When I try this the page reloads (the action is #) but any new text typed in ...

Returning form, querystring, cookie values by priority in ASP.NET MVC

I'm wondering why query string is preferred when getting values from user request. Where? 1) Code of System.Web.Mvc.DefaultModelBinder looks like this (only part of it): HttpRequestBase request = controllerContext.HttpContext.Request; if (request != null) { if (request.QueryString != null) { values =...

Setting the character encoding in form submit for Internet Explorer

I have a page that contains a form. This page is served with content type text/html;charset=utf-8. I need to submit this form to server using ISO-8859-1 character encoding. Is this possible with Internet Explorer? Setting accept-charset attribute to form element, like this, works for Firefox, Opera etc. but not for IE. <form accept-cha...

Inline editing in a winforms textbox at design time...

I'm using a custom winforms 2.0 designer (i.e. my apps hosting the designer) which is being used for a small internal project. So far all the controls have their properties edited via the property grid - but I'd like to make it a little more user-friendly by allowing in-line editing - does anyone know of an example of how to implement i...

table-based forms?

Looking for sites which offer templates for creating styled table-based web page forms. Similar to css-based forms at: http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/ (please no css is better than tables discussions) ...

JQuery Select Box and Loop Help

Hi All, Thanks for reading. I'm a bit new to jQuery, and am trying to make a script I can include in all my websites to solve a problem that always drives me crazy... The problem: Select boxes with long options get cut off in Internet Explorer. For example, these select boxes: http://discoverfire.com/test/select.php In Firefox they ar...

Redirect to a link using the default broswser in Windows Form based application

I am not use: Process.Start (String, String) to open a link. But every time the browser open a new tab or new window to open the link. Is there a way that to open the link in the latest opened page? Just redirection, no new tab or new window? Thanks! ...

Jsp useBean with struts

I'm pretty new at this so take it easy on me. The code I'm trying to get to work is: <jsp:useBean id="EJD" class= "MoverDetailForm" scope="application"/> <jsp:setProperty name="EJD" property="empFDJoiningDate" param="empFDJoiningDate" /> <% String empFDJoiningDate = EJD.getEmpFDJoiningDate(); out.print("please work" + empFDJoiningDate...

WP-Contact Form 7 -- PHP Question

I don't know how much information you need for this, but WP-ContactForm-7 is a contact form for WordPress. By default it has one server response message for all forms on the website. I have multiple forms and would like a different server response messages for each one. function message($status) { switch ($status) { case 'mail_sent_o...

Is there a way to use jQuery's serialize form fields and trim the value in the fields?

Hi, I have a form that uses jQuery to submit an ajax post and it serializes the form that is sent up. The code looks like this: var form = $("form"); var action = form.attr("action"); var serializedForm = form.serialize(); $.post(action, serializedForm, function(data) { ... }); The problem here is that if a field has trailing white...

Django Forms - How to Use Prefix Parameter

Say I have a form like: class GeneralForm(forms.Form): field1 = forms.IntegerField(required=False) field2 = forms. IntegerField(required=False) And I want to show it twice on a page within one form tag each time with a different prefix e.g.,: rest of page ... <form ..> GeneralForm(data,prefix="form1").as_table() GeneralForm(d...