forms

Hiding forms on startup: why doesn't this.Hide() hide my form?

I wanted to hide the main window of my app on startup, so I put this in the constructor: this.Hide(); This doesn't hide my form though. It seems like I can only get buttons to hide the form. Am I doing something wrong here? ...

Is Captcha needed even if users are forced to login to post?

I've been working on this site - I used the phpdug script to help me get a quick start. I assumed that if I forced users to login in order to post links in this digg-like website, there would be no need for a captcha. This has not worked as you can see all of the car spam. Is a captcha necessary even if I force users to login? Also, ...

Building an SQL query using multiple (optional) search fields

Hi, I have a form that is going to be used to search through a table of support tickets. the user can search from a few difficult optional fields. Date (to/from) Ticket Status Engineer Ticket Contact I'm wondering what is the best way to deal with optional search filters. So I have a query that takes in parameters from the user. S...

coldfusion - bind a form to the database

Hi, I have a large table which inserts data into the database. The problem is when the user edits the table I have to: run the query use lots of lines like value="<cfoutput>getData.firstname#</cfoutput> in the input boxes. Is there a way to bind the form input boxes to the database via a cfc or cfm file? Many Thanks, R ...

Any good FDF tutorial?

Does any one know of a good tutorial on how to fill a pdf document fields using the fdf file format? I could find some but mostly in php (which I don't know). If it's in any of the following programming languages, that'll be great: VB6 C# VB.NET Visual Foxpro Thanks in advance, EGB ...

Text in HTML input on FireFox 3.5 remains at top when height set

We need bigger text inputs for our forms, so easy enough, we just set the height on them... But Firefox 3.5 then keeps the text at the top. How do I vertically center it? On Firefox 3.6, IE8, Chrome and Safari, the text is vertically centered as I hoped. <form> <input type="text" style="height: 50px"/> </form> How do I make the text...

Lightweight framework for forms w Ajax in Python

I'm new to Python and would like to know of some good framework / code library out there to help me out with building forms w/ ajax (and fallback to no-js) submits. Doing it from scratch is possible ofcourse, but since this is such a common task I figured there must be some great stuff out there. Django could be the way, but seems to b...

jquery validate catching the height of the error container

Hi All I'm trying to get the height of the error container when using 'jquery validate' plugin when submitting an erronous form, but I can't seem to get the height value of the error container when it appears. The alert box isn't even showing. What is the solution, please? Here's the code: $(".validate").validate({ rules: { ...

How to set up a proper select form..

I am trying to draw the end result being that @gallery = whatever i choose in my select - form_for :gallery do |f| .grid_6.hr_dots.clear .exist_gal .grid_5 %label 2. Or add to an existing Gallery .clear .grid_4 = select @gallery, :gallery, options_for_select(@galleries.collect { |g...

What's a good Firefox extension for autopopulating forms while testing?

What's the best Firefox extension for auto-populating forms while testing? Preferably one which allows you to not collect data from certain sites ... I only want to use it while testing. ...

If [ComboBox] Is Null Statement in VBA/Access 2007

Hi all, I have a form with 1 combo box (YearToBeBuilt) and 2 text box fields (Cost and YearofExpenditureCost). All controls are linked to a main table and the table is updated once the selections/entries have been made on the form. I have written a procedure in VB called ReCalcIt()which performs the following procedure when called: ...

Best practices doing big file upload on the web with progressive enhancement.

I'm building an HTML form with which the user should be able to upload big files up to ~100MB. My users could be coming from anywhere so I can't count on a broadband connection, modern browser or availability of Javascript/Flash. For the users who do have these "extras" I'd like to offer a better experience like some form of feedback on...

Sharepoint 2010 workflow with custom infopath form

I am trying to figure out how to use a custom Infopath form with a Sharepoint 2010 workflow. I have read about a million tutorials on how to do this, but I always end up receiving a "The workflow template has specified no FormURN for this page." error. I use a Visual Studio project to deploy the solution. I have a Module containing the...

select box styling - css/jquery

I've been hunting around to see if I can find a simple CSS or jQuery solution to achieve the following styling for a select box: There are various items on SO such as the one here, but these come close but the issue seems to be more with styling the "arrow" section of the select box. Many of the samples I've found style the whole of ...

CAPTCHA and it's legality?

I am sourcing some info from the OWASP (open application security community) web site (http://owasp.org) and came across some info in their Authentication section. CAPTCHA (Completely automated Turing Tests To Tell Humans and Computers Apart) are illegal in any jurisdiction that prohibits discrimination against disabled citiz...

Please point to the right webdev tools

Hello, I'm making a simple web app where I have some simple python scripts that do the text crunchin g I need - but I'm not quite sure how to interface it with a client who'd only want to see some HTML forms. There's so many different server side frameworks out there - but I don't think I need anything too heavy duty - just a mechanism...

Google App Engine does not accept cleared values for db.IntegerProperty from my django forms

I have a very simple db.Model that contains a db.IntegerProperty and a db.TextProperty: class Foo(db.Model): shoe_size = db.IntegerProperty() comments = db.TextProperty() From this I created a very simple Django Form Object: class FooForm(djangoforms.ModelForm): shoe_size = forms.IntegerField(required=False) comments ...

Can django-comments handle multiple comment forms on the page?

I have multiple models on a Django-powered webpage that have a django.contrib.comments form rendered for each. On this page, a post from one of these forms to /comments/post/ always results in: Forbidden (403) CSRF verification failed. Request aborted. If I include the same comment form code on another page where there is just one su...

Form Engine recommendations

I'm trying to find a form engine that can generate the markup from simpler instructions like addTextField. This is common in CMSs and frameworks, but I'm looking for something that I can use in a plain php non-CMS project. Does anyone know of a form engine like this? If you do and use it, please mention some of its features. If it has va...

Expire all forms authentication cookies.

I have a small website with about 10 members. 5 of those are now banned. I have ensured that they cannot login through the login page. However because the authentication cookie is persistent and is set to expire after a few months if they return to the site they will still be logged in. A simple solution is just to expire all authenti...