form

How to use an object in more than one form in Visual C# ?

Hi. I'm new in c#. I have read some book about c# for beginners. Now i can code simple applications. I have 2 forms and 1 class in a project. I want to use a object from that class in 2 forms. I want first form to set a property of the object and secont to display this property. How can i do it. Please help me. Thanks ...

The right way to send variables with as3 to asp?

Hello Im trying to make an swf send a phone-number to a specific asp-fil on the press of a button. But since I'm an as3 rookie I have no idea where this code is going wrong (PLEASE HELP): import flash.events.IOErrorEvent; import flash.display.*; import flash.events.MouseEvent; import flash.net.*; import flash.events.Event; public clas...

ASP.NET MVC2 Edit action is adding a new entry to the database

Good morning, I'm learning MVC using the music store examples on the www.asp.net/mvc page, and I am having a problem with my edit action adding a new entry into the database instead of updating the existing entry. Here is my Edit action and the HTTPPost Edit. // // GET: /HomeScroller/Edit/5 public ActionResult Edit(int...

What can I use instead of TFMail for a form-mail script?

TFMail was a popular PERL CGI Form Mail script at one time. So far it has served our purposes. It is very easy to set up and configure. Unfortunately, it only has basic functionality. It works well when you want users to fill in a form and have the result emailed to a specified email address. Can someone recommend a script ( maybe...

Preventing duplicate form submission while not breaking page when clicking Back button

I have a page with a form where I'm trying to prevent duplicate submission, which is fairly straightforward (in case anyone's curious, I used this $("form").submit(function() { setTimeout(function() { $("input").attr("disabled", "disabled"); }, 50); }); ...which I stole from this page, and it works fine. As expecte...

How to remove the caption bar of a window in c#

I would like to remove form frame in c# Picture: http://img251.imageshack.us/img251/9114/87017773.jpg Anyone know how can I do this ? ...

Drupal form validation marks other form fields as invalid

I have a problem with multiple forms in one page with inputs sharing the same key. I have a form in a page and another form in a block showing on the same page. Both forms have a field name exactly the key name (mail). I can't change those field's keys or I would break 2 modules. So, whenever I try to post the page form and the mail i...

How does Google create its form buttons?

I really like how Gmail has created the form input and accompanying "Search Mail" button. See linked for screenshot. However, I'm having a difficult time deciphering Gmails compressed HTML/CSS code to figure out how they created this look. Can someone assist me in figuring out what HTML and CSS I need to use to recreate the combinatio...

pass a image upload to another page before uploading it.

Is there a way to pass an image file to a second page before uploading it to the data base? Page 1 <input type="file" name="image" /> Page 2 <input style="display:none" name="image" value="<php? echo $_REQUEST['image']; ?>" /> page 3 -> database upload $target_path = "uploads/"; $image_path_1 = $target_path . basename($_FILES['im...

jQuery, stopping an animation associated with a jQuery Form Wizard

Hi all, I'm a designer with limited coding knowledge. All I need to do is to create a simple form that submits data in one go. The form broke up into parts using jQuery Form Wizard. There's this progress indicator at the bottom of the page. However, when I finish the form, the arrow carries on and doesn't stop at Finish. Below is th...

PHP RegEx to get form values

If you're given a form in a string format like: <input type="hidden" id="thisID" value="Text Value" /> How can you get the value "Text Value"? Also with: <select name="thisSelect" size="1"> <option value="one">One</option> <option value="two" selected>Two</option <option value="three">Three</option> </select> How can you get ...

PHP in PHP, Problem with dynamic forms

hi there, I'm a newbee I've got a little problem with my php-script. I try to generate dynamic formulars with php. which works very good. the problem is, I want my data to be send to another funcion in another php-script. I gues its a problem with the syntax: <?php .... <form action=\"<?php myfunction() ?>\" ... > ... ?> When I used ...

JQuery Validation Bug or User error?

Site in question: http://tinyurl.com/23oar6z You can look at the source for the javascript on the JQuery or the main part here: // validate signup form on keyup and submit var validator = $("#Register").validate({ rules: { UserID: { required: true, minlength: 2, remote: { ...

symfony form - delete embedded form object

I have a two Symfony forms: ShoppingListForm ShoppingListItemForm I'm embedding the ShoppingListItemForm inside the ShoppingListForm many times. ie A shopping list contains many items. So the ShoppingListItemForm consists of two widgets: item_id (checkbox) shopping_list_id (hidden - foreign key) What I would like to do is delete th...

Execute code when form is closed in VBA (Excel 2007)

I would like to execute some code when a user closes a form using the x button in the top right corner of the window (I have the form load when the excel spreadsheet is opened, and it hides Excel. I want to exit excel once the form is closed, or at least show excel again so the user may exit it manually) Looking at the form properties, ...

Security with PHP form processing with "not required" field confirm submit

I'm noob about form best practices... The goal: Solution for processing not "required fields" which are, for lack of better term, "soft required". When the form is submited, and required fields are OK, there is a soft-require check asking the user "Are you sure you don't want the undercoating?" How I plan to do it: Three pages. (1) the...

form validation stops form from being submitted if field empty, disables file field

I use validateEngine (http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/) to make sure the user fills in the appropriate fields before the form submits. What I am having a problem is when the user hits submit without filling in all the appropriate fields, it does not submit the form, alert...

Simple Liberty reserve PHP script for registration form

Hi I'm designing a script for someone that wants to have an online registration form where people can sign up for a certain event. There is also a cost to attend the event. So I need to have something where they can pay online. liberty reserve seems like the easiest way to do this. Can somebody show me how to design a script that forward...

AJAX Submit Form.. data not sending

Hi, I have been battling with this piece of code for literally days now... Would appreciate any help The script calls the php file without a problem when the submit key is hit. However, it doesnt post the form data with it. The HTML form <form id="image_form" name="image_form" method="POST" action="" ...

Form encoding in Tapestry

Hi ! I have a problem with Tapestry form. My XML database is very sensible with encoding, and need utf-8. When i put the char 'à' in my form, tapestry receive 'Ó' and my core get an error : Invalid byte 2 of 3-byte UTF-8 sequence. I haven't the problem in eclipse with local default configuration for tomcat. But whatever the tomcat co...