forms

https form validation not passing SESSION VARIABLES - PHP

I had my form processes working perfectly but after renaming the form action to <form action="https://www.example.com/validate.php" method="post"> for working with an SSL certificate it stopped working. Seems as though the SESSION variables are no longer being passed properly... Is there something I should know about https an...

Add text to text area using javacript.

How can I add custom text to already written text in textarea using javascript??Thanks... ...

rails observe_field using ActionView Helpers

I have a select Menu with a few options <p> <%= f.label :reason %><br /> <%= f.select :reason, Confirmation.reasons.collect {|p| [ p[:name], p[:id] ] }, { :include_blank => true } %> </p> The last being id "5" and name = "Other" If and only if they choose other I want a hidden text_area with a div id = "other" to be shown...

Is my form secure? - php

I have a 4 step form process. form.php, validation.php, review.php and complete.php Form.php posts to validate.php which depending on the validation redirects either back to form.php or to review.php. The final step is complete.php Each page is called with HTTPS except validate.php which is where the SESSION variables are created a...

Passing variables from main form to input form

Hi I have a simple question. I have a main form, and then a startup form from where I can select a new 3D model to generate. When selecting a new 3D model from the startup form, I want to check first whether the previous model I worked on has been saved or not. I simply want to pass a boolean value from the main form to the startup form...

How to disable forms authentication

I have a folder in my web site for which I secured with forms-based authentication. I now have to develop two new pages in that folder and I want to turn security off while I test and debug the new forms. I have changed the authentication mode in the web site's web.config file to mode="None" and I have removed the web.config file from ...

Vanishing WindowsForm

Hello, I am developing a plugin for an application, that application "consumes" my code (classLibrary), and executes the "Init()" method inside his own Thread. Inside the Init() I have a while(true) statement, so that my plugin can run continuously. Yesterday, I started to make a windowsForm for configuration of my plugin (using XML), a...

What is the best way for non-developers to create XAML Grids?

We need to have non-developers create dozens of input forms with XAML. The best solution I found was the free XAML Power Toys since you can create and edit grids visually, also create from classes. I took a look at Blend 3 quickly, dragged a Grid into my Window but found no options to actually create, say, a 4 x 10 grid with labels. I ...

Datepicker of Jquery UI need help

Hi, I need help adding the jquery date picker to my existing code, but not reconstructing the whole HTML file. my code, <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Con...

Using Rails models with accepts_nested_attributes_for

I'm writing a simple Rails model called Person that has_many :phone_numbers and I'm trying to save the phone numbers in a complex form without manually writing setter methods. accepts_nested_attributes_for should do what I want but I'm having trouble getting it to work. Here's the code I have so far: Migration class CreatePeople < Acti...

Using .NET for Windows Forms based Product Development

.NET has become a popular technology among software developers and comsumers. I was thinking if it would be a wise decision to develop a Windows Forms based product in .NET that can be downloaded by thousands of customers around the world. The real problem could be the framework installation that has grown considerably with the .NET vers...

Form in ASP.NET MVC (1.0) does not fire if "id" attribute is present (jQuery Validation requirement)

<% Html.BeginForm("Index", "Home", FormMethod.Post, new { id = "form_logon" }); %> or <form id = "form_logon", action="/Home/Index" method="post"> just don't work. Pressing a submit button if ID is present does nothing, while id is required for jQuery validation plugin. ...

How to combine two form fields into one variable with jQuery?

I'm pretty new to jQuery and I've been given a task I really have no idea how to complete. Here's the situation: I have a form as follows: Code: <form action="search.php" method="get" id="cse-search-box"> <input type="text" name="q" size="31"/> <select name="category"> <option>One</option> <option>Two</option> <option>...

Form load Event fires twice, using Interop Forms Toolkit

I've been following a codeproject article on using the interop forms toolkit (basically a way for developers to slowly upgrade their VB6 projects to .net by allowing .net components run in VB6) http://www.codeproject.com/KB/vb-interop/VB6InteropToolkit2.aspx While the .NET form is working fine in all other testing projects and environm...

I found some idiomatic PHP code, but I'd like a clearer (more maintainable) way

I am using PHP to implement an HTML form and for validation of the data submitted by the form. There are two scripts. In order for the second script to know about values assigned by the first, I am using a POST method with the following code: foreach (${"_".$_SERVER["REQUEST_METHOD"]} as $k => $v) $$k = $v; to retrieve each of t...

c# windows forms / basic data grid

One of the problems I am having with c# is that there seems to be so much information online that I am having trouble finding the right answer to the most basic of questions. I am trying to do something simple: I have a button, I click it, it queries the database and populates a datagrid on my windows form. private void button1_Cli...

copy text in option tag of a form using javascript?

<select name="products"> <option value=""> - Choose - </option> <option value="01">table</option> <option value="02">chair</option> <option value="03">book</option> <option value="04">car</option> </select> I want to be able to copy text automatically on selecting a particular option... Eg. If I select book, book sh...

Django FormPreview - What is it for?

While looking across the Django documentation, I came across the FormPreview. The description says this: Django comes with an optional “form preview” application that helps automate the following workflow: “Display an HTML form, force a preview, then do something with the submission.” What is meant by "force a preview"? Wha...

django dateTimeWidget not showing up

Hi,django newbie here. I have an attempt of a registration page. It consists of text fields (name, username, password, etc) and a DateField (birthday). I'm trying to use a forms.DateTimeInput widget for the DateField, but when the page is rendered, nothing happens. Am i doing something wrong? Does this have something im overlooking? It...

Datepicker of Jquery UI need help

Hi, I need help in attaching a date picker in my existing HTML markup. The booking form was provided by my Affiliate, Now I need their forms to be customize a little bit. I need to change their the current date picker with the JQuery datepicker, I hate their date picker because it calls another window and It's kinda ugly. (Sorry I can'...