form

HTML Select Option not recognized when tab and arrows used to select option

This is an odd problem and likely a rookie mistake. For some odd reason, if I use the arrow keys to select a select option from below, it fails to submit unless I deselect by clicking somewhere else on the page. If I keep focus on the select option, the submission will fail to recognize the value. Am I committing some stupid mistake? <s...

i have a html form. And i want my output to be in excel sheet. Please suggest want i have to do. PHP.

i have a html form. And i want my output to be in excel sheet. Please suggest want i have to do. PHP. ...

problem with opening new document in document library with form authentication

i am working on Form authentication. After enabling Client Integration to YES i am getting all the menu items in document library.But when i am opening a new document or my own template it is showing error like word was unable to read it may be corrupted. ...

How do I style a PHP form RESULTS page?

Hi, I've gota working form that when you click "submit" it takes you to a results page - all fine. However, is it possible to add divs etc to make the page look a bit nicer? If so, how? At the moment when i add divs in it just ignores them! Thanks, Steph <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www....

Calling a servlet from a form but the servlet is never invoked

I am trying to call a Servlet called AddClass.java using the following line in a jsp <form method="post" name="addClass" action="AddClass.do"> The class is in package web and the filename is AddClass.java A similar servlet named SeedSearch is called (and everything works fine) from this piece of code in another jsp. <form method="po...

Form field data history not retained

I have a form on a page that is shown via https:// as follows: <form id="memberslogin_form" name="memberslogin_form"> <fieldset> <legend>Login</legend> <div> <label for="membershipId">Membership number</label> <input type="text" class="field" name="membershipId" id="membershipId""/> </div> <div> <label for="memberPassword">Pas...

Position an image button next to an horizontal-login-form submit button??

Hi, How do i middle align the image to the submit button? Both in FF, IE7/8 and my all time favorite IE6. <table height="34" cellspacing="0"><tr> <td>&nbsp;</td> <td>Username: <input type="text" size="15" maxlength="10" /></td> <td>&nbsp;&nbsp;Password: <input type="password" size="15" maxlength="10" /></td> <td>&nbsp;&nbsp; <input ...

JavaScript post form data to new window without "target"

What? I would like to be able to do a post request (does not have to be form data) to a new window without using the target attribute (XHTML validation). Why? I have a webapp (using jQuery) where the user selects a number of entries to print. Each entry id should be sent to a processing page that will display a printable version of the ...

How to save <FORM> tag inside <TEXTAREA> using rich-text editor like FCKeditor or NicEditor

I am using a rich text editor and in HTML mode, I want to put a FORM tag within my code. However, when I save, the tag disappears. I guess you cant have a FORM in the code within the FORM. So I think what's happening is this: <form name="form"> <textarea><form><input type="text"></form></textarea> <input type="submit" value="submit"> ...

Change number of HTML Input fields with Javascript

Hello. I'm working on an HTML form that will post data to my Webserver for storing into a database. I have no problem with the PHP and SQL code, but I want to have a small feature on the client side form: There is to be a dropdown (select) that asks how many rows of a certain type you want. Then, a small JavaScript should produce these...

How can I implement Stack Overflow-like watermarks in forms?

Hey people. I remember seeing a tutorial somewhere that talks of how to style your input forms in a more “usable” way. Essentially, you have a placeholder value and when you enter the input, it hides the hint so to speak. Now, just to be clear: I don't want the hint (placeholder value text) to disappear on focus, but rather to go ligh...

Jquery form plugin. Issues submitting loaded form

I have been using the jquery form plugin to submi forms on my page and it works great. But when I try to submit a form that has been loaded using .load it doesn't work. This is my code: $(document).ready(function() { //shows loading screen whilst posting via ajax $().ajaxStart($.blockUI).ajaxStop($.unblockUI); ...

Send information to another form c#

Hey, I have an application that uploads files to a server, but when I press upload it freezes until it is done, so I was thinking to make another form pop up that says uploading and does all of the uploading on that form nested of freezing that main form. But to do this I need to be able to send the selected information to that other for...

Cakephp paginator not going to first page after a form submit

Below I have pasted code snippets of a page where it displays cars by year and model. This list is paginated. For this example, imagine that you go to page 5 of the list displayed. At the bottom of the page, there is a form that lets you refine your search. When you fill in another year and model and push "Search", it reloads the pag...

Problem about the customised validation rule using regular expression in JQuery

Hello friends! I have a form having some text boxes, radio buttons, and select boxes. I write custom validation methods which i added using validator.addmethod. If user submitted this form keeping some or all fields empty then form should get submitted but if user enters data in text boxes then data should be alphabetic and should not ...

Stripping non alphabetic and numeric characters before form submit, using jquery.

i have an ajax form i know i can use like return str = str.replace(/\D/g,''); to strip stuff before submit whats the best way to stop form submit when characters that are not alphabetic or numeric are inputed my the ajax search form is at vitamovie.com/movies ...

php order form, passing multiple variables.

I am creating a order table. my problem I am having is with my form field for each row/record with in the table. <input type="text" size="4" name="buy_item['2']" value="0"> I am defining each identifier by a similar syntax buy_item[ item number ] my problem is when the entire form is sent to through the post request how do I know...

Jsp form encoding

I have a jsp page(let's say page1.jsp) which have an html form with action="page2.jsp". In page1.jsp and page2.jsp i have <%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%> outside the head section and <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> in the head section. If i write greek letters in t...

How to bubble key events from a control up to a form?

I am aware of the KeyPreview property of a Windows Form, and this allows the Form to receive the key events before they get passed to the focused control. However, I want the Form to receive the event after it has been to the focused control. As a test I have placed a TextBox on a Form. Upon typing in the TextBox it should perform it's...

Using Ajax with dynamic Fields

Hi Guys, Im working on a project currently and really using javascript, Jquery / AJAX heavily for the first time and have run into an issue. Ill do my best to explain it but an example which has all the key parts can be found here http://mail.diskbank.com.au:8080/kieran/AJAX-test.php Basically i have a quote form where people can dyn...