forms

Enctype not working on MAC browsers

This is strange, but I have a web form in one of my sites that uploads files correctly on Windows browsers but not on Mac browsers and I'm pretty confident it has to do with the Enctype. I've stripped the form down to it's bare parts (pretty awkward...) and still no luck. Here's the form header: <form ENCTYPE='MULTIPART/FORM-DATA' MET...

clicking on a image submits the form by default?

I didn't realize this, and just want to confirm. If I have a html form, and an input tag of type image like: <input type="image" name="blah" src="..." /> Clicking on the image will submit the form? My use case is, I want to create a custom button for a submit button. ...

How to create an N:N relation editor in web page?

I have to create a small "who does what" web application for incoming letter routing: there is a relatively long list (about 600 items) of employees; there is a short list (about 5 items) of tasks; when assigning a task to an employee, due date must be specified; As a result, i need a list (sequence of items matters in this case, sin...

How do you limit options selected in a html select box?

I'm using a select tag in a form i'm making that allows multiple selections, but i want to make the maximum amount of selections 10. is this possible using javascript or jquery? Thanks in advance! ...

Making class module from a form

Is it possible to convert your from to a self contained class module in vb6? ...

How to create an AJAXified form within the Zend Framework

I'm trying to create a contact form. However at the top of the form the user can select using radio buttons whether he's contacting the technical department or the marketing department. Depending on which he selects, the entire form changes. How would this be implemented within the Zend Framework? I'm already extending Zend_Form to mak...

Formtastic set class and id of form

How I can set the class and id attribute for the form element through semantic_form_for ? <% semantic_form_for (@meetingsearch), :class => "new_meeting_search", :id => "meeting_search" do |f| %> gives me <form action="/meetingsearches" class="formtastic meetingsearch" id="new_meetingsearch" method="post"> ...

My jquery cookies are not resetting, even though am using the correct code.

My problem is that I am trying to reset some form cookies so when someone has completed their form, they are reset so it is possible for someone else to complete the form. Simple and obvious. But However many different lines of code I put in, the cookies just do not seem to be disappearing. I am using the remember function from the sit...

MS Access 2003 - Form question about a control source of a text box

How can I write the control source into VBA instead of in the properties window For example if I have a textbox that divides two amounts in other text boxes, then i put =[textboxA]/[textboxB] in the control source of the properties window. how do i accomplish this in vb so that I can trigger it by events?? i know it is not the same b...

ms access 2003 - Text boxes on a form: not jumping to any text box

Ok so I add all these text boxes on an unbound form, and everytime you open a form, it sort of jumps to the first text box so you can enter some information into it. How do I get rid of that, because I do not want it to auto jump to the first text box when the form opens...i do not want it to jump to any text box when the form open at a...

Get No. of pages to print on web with javascript

Hi all, How can I detect the number of printing page will be on a form using JavaScript? I need to get the number of pages that a form would be so I can stick a watermark per page to be printed. Thanks. ...

Python: fill out a form and confirm with a button click

Hello! Which do you think is the best method to fill out a form and confirm with clicking a button with Python? Do I have to use django? I want to do it in a simple way. Is there a library? Thanks in advance! ...

Ajax & Forms Question (Looking for Resources)

I have a select form. After a user selects option A, B, or C I need to use Ajax to load another form based on the users decision. I'm not asking for someone to program this for me. I am just wondering, does anyone know of any good resources to help me accomplish this? Thanks for your time. ...

Can different Views for different User Categories be created in SharePoint?

I need to limit different Users to view only the information assigned to them in their View. For exapmle (Sales will only see what is in Sales's View). Thanks, ...

JSP/Struts/JS form submission: how to modify inputted text data before submission?

Noob at javascript etc. here. I’m a php/core Java programmer tasked with maintaining a bunch of JS code in JSPs using Struts. What I need to do is simple, but I can’t figure out an easy solution. Given the following code excerpt for a struts’ed HTML form and a JS submit function, I need to modify the text field “query”’s data after the ...

Help me choose a data entry system for multiple users at multiple sites

I've just started working on a project that will involve multiple people entering data from multiple geographic locations. I've been asked to prepare forms in Access 2003 to facilitate this data entry. Right now, copies of the DB (with my tables and forms) will be distributed to each of the sites, returned to me, and then I get to hamm...

Form authentication issue

I have two web applications. One is using windows authentication and the other is forms based. I need to add users to the later one from the first one? How do i achieve this? ...

Uploading files to App Engine using webapp and Django forms

My basic question is this: Is there an equivalent of form = MyForm(request.POST, request.FILES) when handling file uploads using the webapp framework on Google App Engine? I know that I can pull out specific uploaded file data using self.request.get('field_name') or a FieldStorage object using self.request.params['field_name'], but...

WM_SysCommand Preventing window move in delphi

I use the following code to capture when the minimise button of my program is pressed so that I can hide the form from the taskbar, and as such minimise to the system tray. procedure TForm1.WMSysCommand; begin if (Msg.CmdType = SC_MINIMIZE) then begin form1.Hide; show1.Checked :=false; hide1.Checked :=true; end; ...

How to create an insert Form with TextInput containing ComboBox provided by mySQL Database Table

I have a Flex application which manage a database composed by 7 tables. I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables. Any ideas? Thanks in Advance ...