forms

Dynamic Query based on mulitple GET variables (Refine Search Form)

So im trying to find a script that can start me off with creating an 'refine search' panel which will be a form, hopefully something close to what Ebay have got at the moment. Whilst I know this is going to be a form and using the GET method, I cant find a script that can parse a url for multiple params and update the query all dynamica...

Passing instance variable from one form to the a different controller's action in Rails

Hi, Simple question - I have a form where I create an instance of an object. After I create that object (aka submit the form), I want to redirect to a new form that is associated with a different controller's action and carry that instance variable to populate some of that form's fields. I know I typically have 2 options, store that in...

drupal w CCK - how do I rename node submission buttons

Hi there, I have made a custom node type for event registration. I have used themes (template.php to all a custom tpl.php for the form) to customise the look of the form. Using workflow and actions / triggers, people can register for my event, and the event manager gets a notification email and can log in and see a view of who has reg...

Making Django forms.DateField show use local date format

I'm trying to find an easy way to build forms which show dates in the Australian format (dd/mm/yyyy). This was the only way I could find to do it. It seems like there should be a better solution. Things to note: Created a new widget which renders date value in dd/mm/yyyy format Created new date field to prepend the locate date for...

how to stop displaying tooltip on some of the inputs in the form when using jquery tools

hi, im trying to use jquery tools tooltip (http://flowplayer.org/tools/tooltip.html#events%29on a form to show hints to the user. the hints come up on every single input field, even submit button. i would like to disable the hints on some inputs of the form. when i remove the title element from the input tag, the the hint still comes ...

Assigning variable with jQuery problem

I'm trying to use jQuery to combine the user's select field choices (category + contributors) and insert this into a hidden field with an id of as_q, but when I run the script the value of as_q is always empty. At the moment, I call the function when the user clicks submit - it gets the value of the two select fields and combines them,...

How can I make my form resize more smoothly?

When resizing a form with many controls, the form looks bad because of flickering. What are some tips to have a smoother form resizing? ...

Access 2003 Continuous Forms

I have a continuous form that contains a drop down box whos control source is the id of a record in a support table. The bound column is this support element id. The row source of the drop down list is a query that gets 2 text fields based on the id in the bound column... the first text field is simply text that is displayed... the 2nd...

Form Field Outlining

I'm trying to remove the blue "halo" outline that form elements have in Firefox on OS X. Using CSS, I can remove the halo in Safari on OS X, via: input { outline: none; } But this seems to have no effect in Firefox, nor does the -moz-outline property. ...

Parent-Child Database (MS ACCESS)

I'm trying to build a database for a hospital program. I have two tables that are related in a parent-child relationship. I have a form to add new records (records that dont already have a parent record) and I want to build forms that allow me to view all of a parent record's "children" as well as allowing me to edit them. I want this...

DRY form partial for create and update

I have a _form.html.erb form partial which helps to DRY up my code but I need the form to have different labels depending on if I am creating a new user or updating an existing user. Here is my form partial. I don't need to show the eula checkbox during update and I also need to replace the "Create my account" submit button text to some...

Pass hiddenfield value within a WizardSteps control to next site

Hey Im having some problems with sending a value to the next site on a submit. I think the problem is that the hiddenfield is placed inside a WizardSteps control, but i dont know. Here is the html code: <asp:WizardStep runat="server" ID="Complete" Title="Trin 4" OnActivate="OnLoad_Step4"> <div class="OrderComfirmation"> ...

get all opened forms, c#?

Hi! I need to use Windows7.DesktopIntegration.WindowsFormsExtensions functions, such as WindowsFormsExtensions.SetTaskbarProgress, with some opened forms. These forms are not opened by my application. How to get link to Form object of each window? Or maybe there is another way to use these taskbar functions? ...

How to set up a global prefix and suffix used in each error field in Spring ?

Hi, In Struts, you can confire a global prefix and suffix in a resource bundle file. Something like: errors.prefix=<div class="error"> errors.suffix=</div> So <div class="error"> will be added before each <html:errors and </div> will be added after each one. So how can i get the same effect by using Spring form tags <form:errors ? ...

C# 2008 Printing to Preexisting Page Template

I'm doing some work for a Laboratory, helping with an application that prints all the tests results. The results are printed on a "pre-printed" form, this is a custom form they had made, I believe they already have several boxes of this form. I need to figure out how to print on top of it and make everything align correctly. Any on...

Is it better to implement a FORM and its ACTION with a single PHP file or two files?

I'm creating a FORM with PHP for an intranet webpage. Another PHP script is called by submitting the form. Before anyone asks, the form does not allow any uploads, and although the values entered in the form find their way into an SQL query, I strip out everything but numbers. I'm wondering if there would be a advantage in using the s...

Drupal 6: form_state values empty on submit

I'm trying to create a custom form in Drupal 6 and everything seems to work okay with the code below including when submitted a new entry is created in the database however all the $form_state values are empty. What am I missing? <?php function rate_form($form_state) { $form = array(); $form['rate']['name'] = array( '#type' => '...

Site when published doesn't allow login

Ok, I've published a site using forms authentication. It works on my staging server. it does not work on the production server. The only thing different is sql is on a different machine for production. The site does work, showing data from sql, but when I use the login link on the site, it brings up the login form, I login, it redirect...

Mechanize setting a field with a duplicate name...

I'm using mechanize and have a problem on one form... the form has two select boxes with the same name. How can I select the second one? ie. NumNights second occurrence. i found in the docs something like this: form.set_fields( :foo => ['bar', 1] ) but this didn't work: form.field_with(:name => [ 'NumNights', 2 ]).options[no_days...

MSAccess 2003 - VBA for taking information from text boxes and inserting into table

So I have an input form that I want to use to update a table with certain fields of information. I have the ID of the record automatically coming up in a text box. I have three text boxes that I need to add to the table (excluding the ID) on a button click. Name Date Method are the field names. As_Name As_Date As_Method are the text ...