form

How to Publish InfoPath (which is fulltrusted having codebehid code ) in sharePoint?

Hi all, I created one InfoPath form which is having C# code and i gave security option is 'full trusted' to access infopath object model,and it should be open with Browser.finally i published the Infopath form to SharePoint(by using admin-approved) site. But when i'am trying to open, it is not opening and giving an error that is 'InfoPa...

Validate a number between 10 and 11 characters in length

I am using javascript (and PHP) to validate a simple form with a phone number field. I have it working fine checking that the field has only 10 characters, but I really want to check if the field has between 10 and 11 characters. Reason being, some people type numbers like so: 1 555 555 5555 and some people do this 555 555 5555. He...

jquery, changing form action

i cannot seem to find the answer to this. i uploaded code to pastebin (so wouldnt clutter up the post): http://pastebin.com/BhnNTnJM but the action only changes for the delete form (id=form-horse-delete) and not the other 2 forms located on the page. i am at my wits end trying to figure out why it doesn't work for the 2 forms, yet wil...

Registration Form check PostgreSQL is username is already taken

Hey I'm really new to PHP and PostgreSQP or any database in that matter. So I'm at a loss how to do this. I need an if statement that says. If(the username user just typed in is already in database) { my code here } the variable the username that the user just typed in is $userNameSignup how would I do that with PHP for PostgreSQL...

Problem with converting form_tag in rails

I am new to ruby and rails and I am having a problem from Beggining Ruby on Rails Ecommerce. (Yes, it's an old book). I have these 2 code sets for a view: new.html.erb: <%= form_tag :action=> 'create' do -%> <%= render :partial => 'form' %> <%= submit_tag 'Create' %> <%= end -%> <% link_to 'Back', :action => 'index' %> _form.html...

CSS issue when using ASP.NET Validation Control

I'm using an ASP.NET Validation control and when there is an error, for some reason, some CSS are ignored. Using Firebug or IE Developer Tools I would have to reapply the styles in order to get it to where it was. Any ideas why this glitch happens? Cheers ...

Jquery: how to call the function again?

I'm making the script for easy upload many files. I've tried fyneworks plugin, but the file name does not appear in a form that uses tiny_mce. This is the code: $("document").ready(function () { var i = 0; //iteration for Inputted File var max = 5; //max file uploaded createStatus(); //generate status container $('.image...

rails check_box_tag value is NULL

Hi I am not sure why I am having this problem, maybe I am using the check_box_tag incorrectly. I have a form that is used to send an email message. You are supposed to be able to choose one or more boxes that represent different groups of people. <%= check_box_tag (:bcc_email, value = @spouses) %> <%= f.label :bcc_email, "Company Spou...

Move options between multiple lists

We currently have a form with the standard multi-select functionality of "here are the available options, here are the selected options, here are some buttons to move stuff back and forth." However, the client now wants the ability to not just select certain items, but to also categorize them. For example, given a list of books, they wan...

Don't save form data over https

I'd like to submit data in a form, over HTTPS, without allowing the browser to save it. (credit card transactions) ...

how to add additional message in a Drupal form

I would like to additional instructions to a custom Drupal form, similar to hook_help, but at the bottom of the form. Is there a function or hook available for this? ...

Positioning controls in Delphi 5 so they fill the form client area when the form is resized in the same sort of proportions as they did initially.

I have a DBGrid above a group box with some buttons and edit fields and another group box below that again with some buttons. I cannot fins a setting for the align and/or anchors for the DBGrid and the group boxes so they fill the form without overlapping or leaving blank bits of form. I am using Delphi 5 on XP Pro with all updates ins...

Problem uploading .docx through html form

I've made a simple form, with the proper enctype for uploading files. When i try to upload a .docx everything works fine in IE 8 and Safari, but in Firefox or IE 7 or 6 i can't even click submit, nothing happens! Could this still be a server issue? It's an apache server. Everything works fine if i choose to upload a .doc file <form enc...

Help passing _POST Form Data PHP

I apologize in advance, I am a PHP noob! I have form with some hidden fields. I need the values to POST to "submit_rma.php" so that they're not missing from the db--I need $qty, $estmate_id and $rma_type. The rest of the fields are just displaying data for the user and are readonly. Currently I only get value from the qty text field. ...

How to create javascript object from form elements using jQuery

I'd like to be able to create a javascript object from my html form and am wondering if there's a good way to do this using jquery. I guess what i'm looking for is something similar to $.serialize, but which would result in a map instead of a string. <form> <input type="text" name="foo1" value="bar1" /> <input type="text" name="foo...

Java/Swing (and GUI in general) - technique or patterns to build dynamic search form with criterias/filters

I feel recurrent the need of building a search formula or filter panel using logic and expression. Here are some example expressions: search all item with price >= $100 and available in stock. filter all files with (name like *.log or name = toto.txt) and modification date < 2 hours from now I know how to implement such a search/filte...

Wordpress contact form 7 chrome issue?

Hi i'm using contact form 7 plugin for a really long form. My issue is that when I fill my form in chrome and press send to test the fields validation it clears my form of all my content. Yet I do not get this issure in ie7 or firefox. Is it to do with chromes interface? Thanks for all your help Regards Judi ...

Can not get input type submit/input working with Google Chrome and jQuery

I am using jquery code to handle language translation, I have in my previous posts, gotten the code to handle most text and ajax translations. And this code even works 100% in firefox, but when testing on google chrome 5.0.365.2 Dev $("input:button,input:submit").each(function() { var value = $(this).val(); ...

Programmatically submitting a form while using AjaxForm

I wanted to find a way to upload a single file*, in the background, have it start automatically after file selection, and not require a flash uploader, so I am trying to use two great mechanisms (jQuery.Form and JQuery MultiFile) together. I haven't succeeded, but I'm pretty sure it's because I'm missing something fundamental. Just usin...

How should I redirect users in a formmail script?

So I'm using a basic formmail script. Within the script I'm using a redirect variable. The value of the redirect is something like: http://www.mysite.com/NewOLS_GCUK_EN/bling.aspx?BC=GCUK&amp;IBC=CSEE&amp;SIBC=CSEE When the redirect action happens however, the URL appears in the browser as: http://www.mysite.com/NewOLS_GCUK_EN/bli...