form

textarea doesnt return value

Im using a code editor codepress in all of my textareas, but no textarea return a value. I think the different name and id is the problem. Example: <textarea name="content_text" rows="20" cols="50" class="codepress sql" id="myCpWindow"></textarea> I have read somewhere in here to use a hidden input to transfer the textarea's value, bu...

Date Select in Rails

Hello, I want to use an input field and beside the input field should be displayed an date select field in which the user can choose the date and this date will then be filled in the input field. Do you know an easy solution without using prototype? Thanks for your help, Matthias ...

Problem opening Excel workbook using Excel Interop

Hi everyone, I'm writing a C# forms application to open an existing Excel workbook using the Excel Interop. Everything works fine. I can read and write fine. I do not save the workbook until the user close the C# application. The problem happens when my program is running and the user accidentally opens the same workbook with Excel. I g...

Multiple choice search in Wordpress.

Hi there, does any one know how to createa search panel similar to the "quick find" bar on this site? http://www.thebedandbreakfastclub.co.uk I've been trying to find a plugin or tutorial but have had no luck at all. I'm looking for some thing that filters child categories according the the parent category the user has clicked on. Ple...

Windows Form user control hosted in WPF - How to capture the leave event?

Hi, In my WPF application I'm hosting a custom Windows Form User Control together with other wpf controls. My custom user control is hosted in wpf using a WindowsFormsHost control. This custom user control contains (the parent so to speak) other custom win form controls (children controls). The children controls can be single or composi...

sending post form and jsessionid

In my application I had a list of books. For each book there is a dynamically created link something like: http://interestingpage.com/searchBook.html?isbn=bookISBN after it's clicked the user is moved to that page. Owners of that page has decided to change the method of posting form for searching book and it now uses something like: ...

Change URL Submitted to Depending on Form Selection

I have a form which I need to submit to one of three different URLs depending on a selection made in the form. I suspect the easiest solution is to use jQuery to insert the appropriate path before the rest of the form parameters as the selection is made, but not sure on what the code would be. Any pointers greratly appreciated! <form i...

Retrieve value from form

My form is like <form action="javascript:;" method="post" id="reportForm"> <input type="text" name="as" maxlength="3" /> --CODE-- <html:hidden property="reportid" value="${Scope.reportId}" /> --code-- </form> I can retrieve values from the form in javascript like this.form = dojo.byId('reportForm'); this.as...

unable to use html form post in php

Hello i have an html form and i'm posting data but i'm unable to get the posted data on a php page (same page) can you please help me. thanks in advance <div class="left"> <form name="form_signin" method="post" onsubmit="return signinValid();" > <table> <tr> <td> Email : </td> ...

Web form / CGI scripting: User enters "word", IFrame displays "word".html

Okay, I'll admit being a designer, I don't know much about how data is handled from the servers in forms... (basically the whole programming part). Basically I have a text field that the user types something like "apple", this gets sent to the server and then displays the apple.html page that I have in a directory in an IFrame. If anyone...

ASP.NET - adding Ajax Web Form to solution

HI! I need to add to my asp.net project new item called AJAX Web form , but in spite of installing AJAX Control Toolkit I can not add to my project new item in form of Ajax Web Form. Does anyone knew what I have to do ? screen of my Visual Studio: http://img708.imageshack.us/i/visualstudioajaxproblem.jpg/ ...

How to create several records in only one dynamic form?

Hi experts, please help me with a simple PHP doubt. I have a simple form: < form action="foo" > < label >Person:< /label > < input type="text" id="name" > < input type="text" id="last_name" > < a href="javascript:addmore();">Add More < /form > Every time the user clicks Add More two new input fields will be dynamically created ...

jQuery - want to get input value for submit but it gets one and repeats

I'm trying to replace all submit buttons with a span so cufon will work. The input still needs to be there so have done some css to hide it and overlay to span on top. My issue is getting the value from the input tag is proving quite diffcult. The code below gets the first input value (being 'search' from the search box at the top of ...

why could i not submit the form via php's curl?

$ua_s = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14'; $c = curl_init($the_url); curl_setopt($c, CURLOPT_RETURNTRANSFER, true); curl_setopt($c, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($c, CURLOPT_USERAGENT, $ua_s); curl_setopt($c, CURLOPT_POST, true); curl_setopt($c, CURLOPT_POSTFIELD...

What is the correct way to open a form submit in a new window now target is deprecated

Normally I would us <form target="_blank"> But looking through http://www.w3schools.com/tags/tag_form.asp I notice the target attribute is deprecated. So what is the correct XHTML compliant way to perform such an action? UPDATE: Thanks, I appreciate that opening new windows is not generally a good idea but in this case it's a thir...

manage date fields when are int in the db

Hi in my db there is a field "date_start" type integer. This is the part of form for this field <div class="editor-label"> <%: Html.LabelFor(model => model.date_start) %> </div> <div class="editor-field"> <%: Html.TextBoxFor(model => model.date_start, new { @class = "calendar" })%...

extending an entity framework model

Hi, i want extend an entity framework model with a temporany attribute. I need it only in a mvc form. I don't need save it in the db. How can i do it? ...

How to handle form submission in Qt?

I have a QWebView in my Qt app. If the QWebView has a form, how can I intercept its submission and get the values of the form? ...

What's your solution for 'contact forms' in Ruby on Rails applications?

With a quick Google search, one can find literally hundreds of examples for contact forms using PHP and/or JavaScript, but there don't seem to be any "ready-made" contact forms for Ruby on Rails. Do they exist? What do you use for contact forms in your Ruby on Rails apps? ...

Possible to Dynamic Form Generation Using PHP global variables

Apparently there was confusion as to my original post so let me start over: I am essentially creating an online shopping cart which gives a manager the ability to enroll his/her employees for training services which we provide. We charge $49 for the services for every employee enrolled. The primary difference between this and a traditio...