form

Automate Windows From Button

I am looking for a tool that helps me click a button in a windows form(ASP.NET) periodically.Any ideas??? Basically I depeloped a Web Form using ASP.Net (C#). There is a button on this form. I am looking for a tool that clicks on this button every 10 seconds automatically(For testing purposes) ...

Run a console application from a windows Form

Hi all, I have a windows console app (that accepts parameters) and runs a process. I was wondering if there was any way to run this app from within a windows form button click event. I would like to pass an argument to it as well. Thanks ...

Where does Internet Explorer stores its form data history that is uses for auto completion?

Where does Internet Explorer stores its form data history that is uses for auto completion? I need to make a tool the cleans IE form data. Is there an API for this? Or what are the registry keys? Thanks. ...

Is there a way to limit number of submissions for a php form?

eg. A registration form can only be used x amount of times? ...

php $_POST array empty upon form submission...

Hi folks, I'm baffled on this after much googling. This issue is simple, I have a custom CMS i've built that works perfectly on my dev box (Ubuntu/PHP5+/MySQL5+). I just moved it up to the production box for my client and now all form submissions are showing up as empty $_POST arrays. I found a trick to verify the data is actually being...

Serialize unique form from page of many for AJAX. Works in FF/Safari, but IE serializes ALL forms on page

I have a page of similar items, each in their own form I want to update using Ajax. For each item, I append a counter onto the end of the form id, so each form has a unique id. I also store this "counter id" as an attribute in the submit element, so I can dynamically build the form name in JQuery. It works perfectly in FF win/mac and Sa...

EventHandlers and C# Classes destructor/Dispose

Hi, I'm a bit confused about C# Classes and their deconstructor. I have to consume a few event handlers in a class instance I'm getting in the contructor: public Foo(IFooHandler handler) { handler.Load += Load; handler.Close += Close; } Now my question is that I need unsubscribe to that event when the Foo class is destr...

Fastest way to draw an overlay on an image in windows forms

What is the fastest way to draw an on an image in .net? I'm trying to draw an image on top of another image that have in a windows form control. I know that when I try to draw it directly using loops it takes an Eon. Options I have heard tossed around are GDI+, Direct Draw, or DX10. I start with a bitmap of a fixed size and after apply...

How to do form-based file uploads in CakePHP?

I have been looking into this for a while and can't figure it out. Basically I have an add page for my model which you can add a map from a URL or from a file upload. I have got all the fields and validation in but how and where do I manage the uploaded file?? There must be some easy way to do this. Thanks! ...

Is php not case sensitive?

I am using mysql and php. In my database I have this table called users, inside users table have a record: username: admin password: password In my login page, I tried login as (password: password): username : ADMIN -> result : can login username : admin -> result : can login I store the username in my database as "admin" all low...

What are valid / invalid names for HTML form tags in jQuery?

This flows from the error I ran into here jQuery $(’form’).serialize() returns only one element of a form serialized where having a form tag named "elements", like so: <form> <input name="elements"/> <input name="e2"/> </form> prevents you from accessing all the named elements of the form with jQuery's $('form').serialize() (i.e. you ...

Drupal 6: Hook for altering help field in a form

I have a form, and want to programmatically alter the help text that displays at the top of the page. Is there a hook available to do this? EDIT: by "help text", I mean the text entered into the CCK form at: admin/content/node-type/sample-form Above the textbox, it is labeled: Explanation or submission guidelines: The textarea h...

How to call Value from web form?

I creat one WEB project, this project contain tow WEB FORM, In the first Web Form Design i have tow TextBox for Entring the date(All dataTable between this tow dates) and one Button, I want that when i press to to this Button it will load the second WEB FORM and show all the Data Table in DataGrid In this WEB FORM, So i need To call this...

upload file with Python Mechanize

When I run the following script: from mechanize import Browser br = Browser() br.open(url) br.select_form(name="edit_form") br['file'] = 'file.txt' br.submit() I get: ValueError: value attribute is readonly And I still get the same error when I add: br.form.set_all_readonly(False) So, how can I use Python Mechanize to interact wit...

another Bug in jquery validator?

i use remote method of validator for checking if username exists in DB my scenario: form with one field (username of course) i filled field it passes validation, but i don't sending form yet going to DB inserting username that i filled in form that i still don't sent yet returning to my form press on submit btn voila, it pass validat...

Javascript Menu

I am working on a page, which has a link which reads "update". When users click this link, I would like a form to use a slide effect and appear underneath the link. When the form is submitted, it updates the db, and the menu vansihes. I know this can be done with javascript, but I am not sure how to implement it. Much thanks ...

How do I customize my Wordpress search form?

hello, Mission i would like to customize the search field and button on my wordpress blog. the search textfield and button i have in mind will have 3 states: off :hover :focus so i will need to have 3 different DIV ids for each of these 3 states. Search's Text Field specifics additionally I will need there to be the text "search s...

jQuery form validation plugin dependency-callback

I am using this jQuery form validation plugin: http://docs.jquery.com/Plugins/Validation/Methods I am trying to use the dependancy callback: http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-callback What I am trying to do is only require "BAR" when "FOO" has a certain value. Here's a basic example: <select name="...

Form Builder GUI for PHP

I'm looking around for an open source form building package for PHP, and figured the hive-mob-mind of StackOverflow might be able to tilt me in the right direction. Specifically, I'm looking for a form/survey builder application. I want something that lets an end user use a web based GUI to create and configure/surveys and web-based fo...

show a hidden div on reload after submit_form button click

I need to show a div upon page reload after the user clicks on the submit form button. Specifically, I have a PHP contact form in a show/hide div. Clicking on contact shows and hides the contact form. Both the show/hide js and the php contact form work perfectly. When the user clicks submit -- the page reloads and the "message sent" is...