forms

jquery listbox validation

hello guys, I'm using Jquery and html and I just ran into an issue with list menu (multiple) validation. The issue is that I cannot(/do not know how to) count the number of selections the user has made. I tried adding ':' at the end of every option value and then split the text into an array, and it did work but then I mess my database. ...

Best way to check a form for required fields?

Just a brief best-practices question: what is the best way to do required field checking for a form? I see 3 choices: Server side. reload the page with an error message. Javascript (Client-side) for user-friendly non-reloading, also duplicate requirements on server side and sanitize input. AJAX - best of both worlds, use JS to ask the...

Multi page form validation with php

Hi, This is my first post, so be kind ; ) I'm wanting to create a multi page form with php. The form will spread over 3 pages, each page will need to validate on the data entered into the form on the client (using jquery validation) and if javascript is disabled, on the server, where error messages need to be displayed beside the rela...

Posting parameters to a url using the POST method without using a form

I want to post parameters to a URL using the POST method but I cannot use a form. Even if I do use a form, it would have to be auto-posted with out user interaction. Is this possible? How can I do this? ...

MDI Application minimize/restore issue

Ok, so I have a VB .Net MDI Forms Application. frmMain is the "parent" form with IsMDIContainer set to TRUE. I load "frmChild" from frmMain setting the MDIparent property to frmMain. I minimize the form, then minimize the application. I restore the application a few minutes later, then restore frmChild and find that frmChild is now t...

Downloading large files to PC from OAS Server

We have an Oracle 10g forms application running on a Solaris OAS server, with the forms displaying in IE. Part of the application involves uploading and downloading files (Word docs and PDFs, mainly) from the PC to the OAS server, using Oracle's webutil utility. The problem is with large files (anything over 25Megs or so), it takes a l...

Need a good jQuery/AJAX tutorial (form upload related)

I've recently started using jQuery with php. On the application I'm currently making I have a form which inserts various text data along with an image file upload. What I want is a good jQuery/AJAX tutorial on submitting this form, having it upload the file (maybe with some kind of loading image/message) then after its finished doing it...

Added Characters on POST

I have simple form posting to another file. The problem I'm having is with TEXTAREA field. In the form TEXTAREA, I enter this: <h1 class="padlock">Member Login</h1> and the Output is on the other page when echo with PHP: <h1 class=\"padlock\">Member Login</h1> It's automatically escaping characters. I'm displaying the output in a...

Pre-populating a form default value with a calculated value

Hi, I need to populate a text box with a calculated date and can't get the calculated value to appear. e.g. the text box should default to today's date + 5 days. I have java script doing the calculations and they are working, and I know that I use the "value" attribute for the text box but am unsure as to the syntax to parse the java scr...

Avoid duplication of form input element ID in Django.

When two forms on one page have the same-named field, Django will generate invalid HTML: <!--one form --> <input id="id_name"..../> ... <!--another form--> <input id="id_name".../> Invalid because two or more nodes share the same id. How can this be avoided? Thanks. ...

Flexigrid for jQuery - How to Edit/Update records in the grid?

Hello, I'm looking to create a form which will populate with data from my MYSQL database and allow me to edit/update the data in the form and have the updates saved in the database. Flexigrid looks like a great solution to output results but I'm not seeing how Flexigrid can be used to modify data and save the updates to the database. ...

Is there a way to configure IIS logs to retrieve the user details from forms authentication?

I am trying to analyse the IIS log and would like to look at the broken down by user. I can't do this at the moment because I am using Forms Authentication and IIS is logging everyone as anonymous, which obviously is expected. Is there a way to configure IIS to retrieve the user details from Forms Authentication? ...

How to render form field with information that it is required

Is there any clever way to make django forms render field with asterisks after fields that are required? Or to provide some other clever for to mark required fields? I wouldn't like to have to do it again in a template if I already set a field as required in the form. ...

Multiple action form

I'm trying to create a complex (from my opinion) form, but the process is going very hard. I want the form to have 4 elements: A list [of subjects] and a button [to delete selected subject from list]; A button and an associated input field ["Add subject" and field to add it, respectively]; I think a single form wouldn't be enough, an...

Outlook 2007 TreeView in Windows Forms (C#)

Hello out there, im trying to build my first application on Windows forms with C#. Im fighting against the treeview control and MS outlook 2007... I need a treeview like the Explorer in Outlook 2007, the exchange public folders preselected. I have created the parent node, but i have problems to get all child nodes. Now, Im getting o...

JavaScript form code not working?

I have this form in my site that uses JavaScript to clear the fields when clicked on (highlighted) and also checks to see if all the fields have been filled in. I've used this code for other sites and it works fine. I can't figure out why it doesn't work now! Everything is the same from the previous code! ...

Prevent form redirect OR refresh on submit?

Hey guys. I've searched through a bunch of pages, but can't find my problem, so I had to make a post. I have a form that has a submit button, and when submitted I want it to NOT refresh OR redirect. I just want jQuery to perform a function. Here's the form: <form id="contactForm"> <fieldset> <label for="Name">Name</label> <input...

What is the best jquery validation plugin?

That has reg expression checks for phone, zip, email. Comparison checks for email and password. Bonus: masking and forcing letters and numbers only options. I would like one that works well with this: http://www.malsup.com/jquery/form/ This is a multistage sign-up and would work when step 1 is complete(the form) it would send it to the...

Rails Recursive Multi Model Form Problem

I have a recursive relationship between models: Test --> Questions -------> (has_one) Remediation ------------> (has_many) Remediation_Questions -----------------> (has_one) Question Basically the idea is each question has a remediation (some link or block of text) associated with it. Each Remediation then has a set of remediation que...

How do I submit a form using jquery (ajaxForm plugin) to an external site but not reload to a different page?

Hi, I'm trying to create a form that sends the customer's name and email address to icontact (an email list application). All the values are correct for icontact and if I submit the form as usual, icontact responds that it added the email address. The success message loads in a new page from icontact's website. What I'd like to accomp...