form

jQuery Validation & Form Plugin

I have been working with the jQuery form plugin and the jQuery Validation plugin: Form: http://jquery.malsup.com/form/ Validation: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I am trying to work with both of them to play nice toegther in terms of validate document, THEN submit using the jQuery form plugin. Any ideas...

PHP Paginated Gallery with a form -- how to retain data across pages? jQuery the only way?

Picture a 5 page gallery of images, each page with about 20 images on it. Each image is associated with 2 checkboxes, "web resolution" and "print resolution" for clients to order a digital copy of the image. The page is built in PHP. When the client is finished selecting images across all 5 pages, she clicks "Submit Order" and is taken ...

Submit Form problem... Enter key

Hi... I have a form containing several drop lists and a text field, and a button... When I click the button, an ajaxfunction is called... the ajax then calls a php function which gets results from a mysql db... The problem is that I cant do the same thing by just hitting enter in the form, the page just gets refreshed... That explain...

another Form submit question...

Hi again... I have a form that onsubmit calls an ajaxFunction()... The ajaxfunction calls a php function which returns results from a mysql db... Problem is the back button... I want users to be able to search and then search again and then use the back button to get back to the previous search, but this wont work... Remember, the form...

submit form data into iframe via post [file upload]

UGH. Hi. I have a form. I'd like to know how/if I could submit this form to an iFrame that has the page that will handle the file upload/naming. If I try even something simple like post an input/text to the form, nothing happens (the handler is set to echo the $_POST). I have tried setting the iframe name/id et. al. and setting the fo...

Take value from PHP function [the_time('HH:MM')] and change it based on selection in dropdown box with Javascript.

Is this possible? I return the time that something was posted via PHP function from the database and adjust it based on timezone data selected in a drop down box with Javascript on the client side. For example: The PHP would return 5:00 PM GMT as the time, and if they selected EST it would subtract 5 hours from the time automagically. ...

get textbox value from php

I'm trying to create am online application for some job postings we have at work. I have the form items (text boxes / drop downs /etc) portion set up and i have the send email with a captcha part setup im unclear on how to "call" the value of something like <select name="education"> <option value="None">None</option> <option...

Drupal - Including more than one user_profile_form on a page?

Edit: So, I've been working on this for hours now... I think it's because the action is the same or something... I tried to modify the action using this: function mytheme_user_profile_form($form) { global $user; $uid = $user->uid; //print '<pre>'; print_r($form); print '</pre>'; $category = $form['_categ...

drupal - override form action?

I originally started this question in another thread, but that thread was sorta, kinda answered, and now I primarily want to know how to specify another form action... I tried using the code below, but the form action, when output, remains unchanged, although looking at the print_r($form), it's correctly changed... Why isn't it picking ...

Django form redirect using HttpResponseRedirect

So this can't be too hard but I can't figure it out... I want my form in django (located at /file_upload/) to upload a file, add it to the database, and then redirect to a new page where the parameter is the id of the field that I've added in the database (located at /file/163/, say). I've set up urls.py so that /file/163/ works just f...

Drupal - Set default value in hook_form_alter?

Trying to prepopulate some of my form fields, and am using hook_form_alter(). I've tried a couple of different ways, but in both cases, the fields still come up empty. I'm assuming that I need to set default_value and not value because if the user changes what's in the field, I want that to update correctly. Is that right? Here's wha...

C# - Form opacity is always 100%

For some reason, my form is always at 100% opacity. I've tried changing it by using the properties window. For example, I changed it to 40% but when I ran the program, it is 100%. Are there any known reasons for this? I've looked throughout my entire code and nothing is changing it to 100%. Thanks. ...

why this javascript is line is Right and the other isn't

javascript with> var customer=document.getElementById('custList').value; and that works... Why does it work BUT... var customer=(form1.custList.value); I get an error that form1 is not defined. Especially why would this work in IE, and Chrome but not Firefox. It seems just as clearly stated to me, but I am not a script engine J...

C# - Make form semi-transparent while moving

Is there any way to make the form semi-transparent while it is being moved and then become opaque when it's not being moved anymore? I have tried the Form_Move event with no luck. I'm stuck, any help? ...

windows form application

I have code in c++ about AVL TREE AND have all function..the code is in win32 consol Can i include it to project in windows form application without rewrite it another or in the so simple try?????? because i have so much project in consol and i want to apgrade it thank you very much.... ...

C# webbrowser sudden refresh

I use Visual studio 2008. In my form there is a System.Windows.Forms.WebBrowser control. I have a custom header in the form just above the webBrowser control. In the webBrowser there is a form with a select/drop-down thing made with html. When I click the drop-list and it overlaps the custom header (because of the many options in it) The...

Is https retained on relative form action URLs?

Consider a page with a form that is visited via https. If the form action has a relative URL to the form page, is the https protocol retained? Ex: you visit: https://example.com/cart.html which contains the form tag: <form name="form1" method="post" action="SubmitOrder.aspx" id="form1"> Is the form submitted via https or http? ...

C# - Make a borderless form movable?

Is there a way to make a form that has no border (FormBorderStyle is set to "none") movable when the mouse is clicked down on the form just as if there was a border? Thanks. ...

not getting radio button values in jquery ajaxform

Hi, I have a form which is binded to a JQuery Form (AjaxForm) object. In the form I have some radio buttons: <input type="radio" id="dialog_stranka_dodajuredi_tip_fizicna" name="dialog_stranka_dodajuredi_tip" value="2" /> Selection 2 <input type="radio" id="dialog_stranka_dodajuredi_tip_pravna" name="dialog_stranka_dodajuredi_tip" val...

mysql & php - query for record with all or fewer values, but not more

(SOLVED, SEE END) I need hints on the PHP or MySQL code structure for the following: Let's say you have X unique boxes, and Y types of fruit. Each box can contain one of each type of fruit. Some boxes might have only 2 types, some might have every type. All boxes have at least one type. For the query, the user has a list of checkboxe...