forms

Passing setting value back to form that had called the form

This is what I have.. Dim frmSettings As New frmOptions frmSettings.ShowDialog(Me) frmSettings is a settings form that you can choose the color for background of form1(Me). But I cannot access the form1 properties to change the backcolor. ...

Windows Form "Hole"

How would I go about creating a dynamic "hole" in a windows form through which the user could see the actual desktop instead of the form? Right now I've created a translucent form on top of the entire screen and I'm looking to see through that translucent form. ...

Where does Struts a controller redirect when a form validation fails?

Does it redirect to the value in input attribute in the action element of struts-config file? How can we set the flag redirect="true" for the forward when validation fails? ( So that the url of page being redirected to, is shown in the browser instead of html:form action url. ) ...

IE Issue: Submitting form to an iframe using javascript

Hi, I was trying to create an iframe element using javascript, like so... var iframe = document.createElement('iframe'); iframe.setAttribute('name', 'frame_x'); However, when I tried submitting a form using the newly-created iframe as target, IE opens up a new window, instead of using the iframe. form.setAttribute('target', 'frame_...

Windows Forms' Appearance

Just started using Visual Studio 2008 and was hoping to convert my VBA UserForms to VB.NET with the intent of upgrading my antiquated UserForm controls to newer Windows form controls that match the operating system. The Windows forms I create in Visual Studio look great, but when I load them in PowerPoint or Excel, the form controls loo...

How to receive uploaded file from the inlined form in django?

I'm trying to create a "cool" image uploading interface in django admin panel. The problem is that I'm using inline interface for uploading image instances, but I'm using jQuery Ajax form to upload images, so there were another form I need to create for uploading. And now django view function can't receive request.FILES from this form, b...

How to code in OO PHP?

How can I do this in OO PHP: A form ('in newstudent.php') asks the user to enter his name, course and year. After selecting 'Submit' button, the page will go to 'records.php' records.php - contains a table that displays all the records (columns: name, course, year) when the user selects 'Submit', the new record will be added to the dat...

ASP.NET Forms Authentication without Redirect

I am using ASP.Net's forms authentication, but do not want the default behavior of redirecting to a login page when a restricted area is accessed. Instead I would like to invoke a javascript JQuery dialog for the login on the current page, preventing the content behind from loading. My only issue is that by default the forms authenticat...

Edit form with default Jquery date values, jquery sets current date for field after page is loaded.

$(document).ready(function(){ $('#data_nasterii').datepicker($.datepicker.regional['ro']); // romanian language $('#data_nasterii').datepicker('option', 'changeMonth', true); // dropdown with month $('#data_nasterii').datepicker('option', 'changeYear', true); // dropdown with year $('#data_nasterii').datepicker('option', 'yearRange',...

Changing SharePoint form library auto increment manually

Hi all, is it possible to manually increase the autoincrement of ID column to another number in a SharePoint forms library? I need to do it once. Thx in advance. ...

Is there any way to have multiple ID:s with same name in one HTML document?

I have a form which has several tags. is this possible: <select name="select1" id="select1"> <option id="1990" value="1990">1990</option> <option id="1991" value="1991">1991</option> </select> <select name="select2" id="select2"> <option id="1990" value="1990">1990</option> <option id="1991" value...

Is there any free tool for creating database (mysql prefered) tables from existing html forms automatically?

I got a front-end designer to write tons of html form for me. Is there any free tool for creating database (mysql prefered) tables from existing html forms automatically? Names and datatypes of table fields would be generated based on names and types of form elements. ...

Rails - Should an object's types be in its own model?

I have a contact, and contact has_many :phones. The phones table has a column named, phones_desc, where I want to include the type of phone number the user has saved. My question / Best practice Should I provide a select with manually provided options (such as "mobile", "work", "home")... -or- ...create a new model named phones_type...

Where can I find some reference materials on ASP.net database submission forms

I am new to asp.net, looking for a tutorial that will teach me how to make a web registration form with many textboxes, dropdowns etc and submit this information into the database tables on the user pressing the submit button. I've searched but so far come up with nothing. ...

Add to HTML form without losing current form input information in Javascript

I have a drop down which builds a form based of the selections that are selected. So, if someone selects 'foobar', it displays a text field, if they choose 'cheese', it displays radio buttons. The user can then enter data into these forms as they go along. The only problem is that when they add a new form element, all the rest of the inf...

How to bind control's properties to variables in C#?

I have form with lot's of TextBoxes and also there is a lot of threads in my program that need to read content's of those TextBoxes (settings). Since I can't access controls from other threads, I decided to make special class that will hold all the settings, and if user changes some, control will invoke OnTextChanged event and change cor...

Best way to implement an ASP.NET MVC list (C#)

I'd like to have a section of my page where, lets say, some basic contact fields can be entered. Without having to hit the "Save" submit button, the user can add more contacts by hitting a "+" button, which adds more fields to the page. This would be fairly easy in standard web forms, but I'm a little lost as to how it should work in MV...

Authlogic with activations - nesting the User sign up form not working

Hi I have Authlogic with activation emails being sent working just fine. The problem is I would like to next this user sign up form in a larger account form. It seems that when I do this the user information is put in just fine however the User create does not trigger the @user.signup! when nested into a form. Any ideas on why or wha...

JQuery Autocomplete: Submit Form on selection?

Hi all, I'm using JQuery Autocomplete on a traditional html form. I'm trying to get the form to submit (the old-fashioned way lol!) when a selection is made. Currently the input box gets filled out and I have to make a 2nd press of "return" or click the submit button. I've tried a few examples from stackoverflow, but I could get it wo...

Web Form Builder Tutorial

I would like to have a go at building a 'Wufoo' type form builder. I have seen a few, and understand the logic behind creating it with the aid of javascript. However saving those form preferences for a returning user seems more complex for me, I was wondering if anywone has seen any examples/turorials of this? Thanks. ...