forms

How best to make a link submit a form.

What's the best way to get a regular anchor (<a href="...">) to submit the form it is embedded in when clicked? <form> <ul> <li> <p> The link could be <span>embedded <a href="" onclick="?">at any level</a></span> in the form, so "this.parentNode.parentNode..." is no good. :( ...

Passing master page form data to another webform

I have a master page with one form on it. It is a search form which must always be visible. When the button of that form is clicked I want the form data to be sent to search.aspx. The problem is, I don't know how. I cannot set the form action to search.aspx, because all my other pages which use the master form will go to search.aspx. Thi...

WCF: Best practice to send Form Data to a Web Service?

We are using C#, ASP.NET & WCF. I am trying to send form data to a web service which in turn inserts/updates a database with the data from my form. How should I send over my data? We have the forms populated fine but are having some issues with sending updates back to the web service. We have determined that it is not great practice to ...

AJAX and forms

I have some forms that communicate with server using AJAX for real reasons: cascade combos, suggestions, multiple correlated selections (e.g. I have {elementary} knowledge of {French} [add], and {good} knowledge of {German} [add]...). I also have some regular fields that I handle trough get. Thing is that once I've made connection to s...

Form Submits same checkbox values on subsequent submit action in MVC

I have followed the suggestion in this question... [http://stackoverflow.com/questions/220020/how-to-handle-checkboxes-in-aspnet-mvc-forms][1] ...to setup multiple checkboxes with the same name="..." attribute and the form behaves as expected the FIRST time its submitted. Subsequent submissions of the form use the original array of Gu...

Customizing Zend_Form

I am dealing with Zend_Form right now and am having a difficult time figuring out how to: 1. Use custom images for form buttons and, 2. Insert text and links in specific places (in my case I want to put a "forgot your password?" link before the submit button). I've read through the manual but am not seeing anything about this. Any direc...

Áccess VBA:How to get input in forms and use them in queries

HI I have a form with a few buttons. Each button runs a few lines of code.the code have queries also in them like "select * from table where number =6" now if i want to give the number as a input in the form, how do i go about it. ...

Django FormWizard and Admin application

I have a series of forms that I need a user to complete in sequence, which is perfect for the formwizard app. However, I've some need of the admin application also and would like to set the whole thing up to trigger several forms within the admin app. Is it possible/easy to integrate a 'formwizard' into the admin application? If not, ...

What's the best UI for entering date of birth?

What is the best method for date of birth selector? 3 text inputs (month / day / year) or one mask input. User MUST use keyboard 3 select boxes. User can use keyboard or mouse. One nice datepicker. I want to know what is the most usable and problem free solution, so user wont be confused at all. ...

VBA: Is it possible to run a form as a .exe file

Is it possible to save a form in VBA as .exe file and then run it. ...

Who's altering my DOM?

What might be changing the DOM of a web page after the browser receives the response? I'm seeing this behavior in the value of a hidden input element that holds a single-use form token. When I 'view source' in a browser, I see the correct value, as written out by the server. When I submit the form, view the current state of the DOM, or...

Simple Form in an email...is it possible?

I'm designing an html email for a Holiday Art Market. The request is simply for graphic design, make it pretty-put the date/time etc., but I'm wondering if I can also implement an RSVP form in the email: Are you coming, yes or no? Can this be done in an email, or do I need to redirect to a website? If it can be done, how? Thanks again S...

Where does form processing logic belong in a MVC web application?

In a web-based application that uses the Model-View-Controller design pattern, the logic relating to processing form submissions seems to belong somewhere in between the Model layer and the Controller layer. This is especially true in the case of a complex form (i.e. where form processing goes well beyond simple CRUD operations). What's...

How can I validate both for integers and in a range in a ColdFusion form?

In a CF8 form, I'm using a tag such as the following: <cfinput type = "Text" name = "Num" value = "0" validate = "range,integer" range = "0,1000" validateAt="onBlur,onSubmit" required = "yes" message = "Invalid Value" > When the field loses focus (onBlur), the input is validated for only the fi...

prevent values in form from passing

I have 4 elements in my form. Usually, when submitting the form you would get this in the url:index.html?day=01&month=01&year=1999&reporter=Joe+Blogs However, in my interface, users are switching between the date picker and the person picker. Is it possible to only send the values on the select that is active? [I started writing this t...

Submit / Reset Buttons - Order in the Form

When it comes to putting the submit and reset buttons on your forms, what order do you use? [SUBMIT] [RESET] or [RESET] [SUBMIT] This issue has come up countless times at work... So, in your opinion, which is the most usable for online users? I personally favor the latter, but some people tend to think otherwise. ...

Styling issues with a file input field in firefox

Mornin' all! Not entirely sure whats going on here, I am currently doing the front end for a site with looooads of forms, all styled up and looking pretty in IE, but I've just noticed that in firefox the file input fields aren't responding to any of my styles, all the other types of input fields are fine. I've checked it in Firebug and ...

jQuery validate plugin clearing file input value in IE

Hi! Im currently using this jQuery validate plugin and having an issue in IE where its removing the value of file input fields whilst validating the rest of the form. This seems to me like an onfocus issue, I select a file to upload, click on another input field and it clears the value - this only happens on the file input fields aswel...

How do I create a certain control using Windows Forms in Visual C++?

I am new to using Windows Forms in C++ (and just in general), and I am not exactly sure of the name or if it's even possible to do. Currently I am currently working on a school project in which we must make a program for an imaginary bookstore. I am trying right now to make a sort of list that shows what the "customer" is buying. I hav...

Jquery toggle event is messing with checkbox value

Hi all, I'm using Jquery's toggle event to do some stuff when a user clicks a checkbox, like this: $('input#myId').toggle( function(){ //do stuff }, function(){ //do other stuff } ); The problem is that the checkbox isn't being ticked when I click on the checkbox. (All the stuff I've put into the toggle event is working properly.) ...