form

How to hide SSRS ReportViewer URL following a form with POST method

I'm trying to use SSRS URL access (http://mydomain.com/ReportServer?/Reports ....) such that the URL with hidden report parameters is never visible in the browser. Many references suggest that simply encapsulating the Report/Server url within a form with method=post will do the trick. While the form posts without showing an param in t...

python appengine form-posted utf8 file issue

hi, i am trying to form-post a sql file that consists on many INSERTS, eg. INSERT INTO `TABLE` VALUES ('abcdé', 2759); then i use re.search to parse it and extract the fields to put into my own datastore. The problem is that, although the file contains accented characters (see the e is a é), once uploaded it loses it and either error...

Django: Initializing a FormSet of custom forms with instances

Given the following models: class Graph(models.Model): owner = models.ForeignKey(User) def __unicode__(self): return u'%d' % self.id class Point(models.Model): graph = models.ForeignKey(Graph) date = models.DateField(primary_key = True) abs = models.FloatField(null = True) avg = models.FloatField(...

IE7 glitch with appendChild() for an input box

I am using the following JavaScript to add a number of inputs based on a number in a drop down menu. It works fine in firefox and chrome, but in IE7 the inputs all float left on a new line. function add(number) { var foo = document.getElementById("listInputs2"); var count = 1; foo.innerHTML = ""; while ( count <= (number) ) { //Creat...

How can I remove the borders/control box from a WPF Form?

In Windows Form, I would modify the FormBorderStyle property in the Properties pane. Any help? ...

jQuery: append form input

Hey guys, here is my html output: <script language="javascript"> function append_suggestion() { $('input[name="cn"]').append($('#rand-character').val()); } </script> <form name="form" action="/search/results" method="get" class="search-form" id="search-autocomplete"> <input size="28" class="search-field" id="cn" name="cn" typ...

CodeIgniter - How to set default value to unchecked for radio buttons/checkboxes while using set_radio and set_checkbox ?

I think I'm missing some simple here, but I can't figure it out for the life of me. I'm using the set_radio() and set_checkbox() methods to return their values if validation fails, like this <input type="radio" name="gender" value="male" <? if(!isset($thankyou)) { echo set_radio('gender', 'male'); } ?>/>;Male <br /> <input type="radio...

Fill Databasegrid doesn't occure when envoked automatically

In the following Form-code I have a FrmPrintKasTicket witch i start form another form. This Form should print a document based on information in a SQL database. When I use a button on this form (and remove the "PrintKasTicket();" under FrmKasTicket_Reload) it actually prints. But when I envoke the printKasTicket-methode when the Frm is ...

Drupal6: Load a field, like one would load a node?

Is there a field_load() function equivalent to node_load()? I want to get information about the type of a field and other validation constraints without going to the database myself. Better yet, is there any function that will validate it for me, like is_valid_for_field(field_name, input), that would take a field name and a potential in...

Malsup's jQuery form plugins with file upload fail in Google Chrome

Hi, I have used Malsup's jQuery form plugins for a quite some times. The plugins working great and the file upload is working using hidden iframe technique. Yesterday I tried to use it in Google Chrome browser, but it failed. This morning I try the example in the http://malsup.com/jquery/form/#file-upload but I got the same failed resu...

form not working in internet explorer

this form code is working in Mozilla , chrome but in internet explorer it is not working. <form method="post" action="logincheck.php" > <span class="meta"> <table> </span> <tr><td> <span class="meta"> <label >Username </label> </span> <label ></td> <td> <input name="username" type="text" /></label></form> </t...

How can I make an existing AJAX form be iPhone compatible?

I was recently informed that my shopping cart application breaks when viewed in Mobile Safari (iPhone, iPod Touch). The "add to cart" forms use the 'progressive enhancement' approach to support AJAX updates using jQuery. Some quick testing showed that the functionality indeed works with JavaScript disabled. Everything I've read so far in...

IN jquery UI tabs us a form and using ajax submit it

I have used a jquery UI tabs plugin in my page and in one of the tab i have put a form. SO for example , the tab calls a page form.php which has the form tag of html. Now form.php uses ajax and jquery to submit the form. Does this sound feasible. $(document).ready(function(){ $("form#formdata").submit(function() { ...

Copy/Paste from Excel to a web page

Hi All, Is there a standard way or library to copy and paste from a spreasheet to a web form? When I select more than one cell from Excel I (obviously) lose the delimiter and all is pasted into one cell of the web form. Does it have to be done in VB? or could the processing be done once the paste action is started on the web form? Than...

submit form with delay while entering data into input field

I have a simple form that I need to submit automatically when text is entered. I can use the onChange or onKeyUp without the best result. HTML is: <form action="" id="fusionSearchForm" method="post"> <input type="text" class="std_input" id="fusion_searchText" /> </form> And jQuery jQuery("#fusionSearchForm").keyup(function(...

Get user input from form, write to text file using php

As part of a subscriber acquisition I am looking to grab user entered data from a html form and write it to a tab delimited text file using php.The data written needs to be separated by tabs and appended below other data. After clicking subscribe on the form I would like it to remove the form and display a small message like "thanks fo...

Can I do more than one form for the same model class in symfony?

Well, imagine that we have a register form of a class Customer and we only ask three fields (name,surname,email) and after, when this user logged first time we want to complete this information. First, we have in lib/form/doctrine a file called 'CustomerForm.class.php' wich is generated automatic on command line. In this file we 'setup'...

can't consistently bring form to front

I've tried several things, but none of them work... I have Form that should come in front of all Windows on clicking NotifyIcon. So here is what I tried: private void notifyIcon1_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { this.TopMost = true; this.BringToFront(); th...

With ASP.Net, how do you write to a client-side control (text box) with server-side code?

If I have a standard HTML textbox: I can retrieve the value using Request.Form. But how do I go about populating this textbox from the server-side? I tried Request.Form["txtTest"] = "blah"; but got a readonly error. ...

What is correctness in symfony to fill a form in two steps?

Hy, What is correctness in symfony to fill a form in two steps? Imagine that we have a entity called Enterprise and we want to create a form with only required fields and another form, that when the user login can fill the other non-required fields. How is the correctness form? Now i have a form to registration ('lib/form/doctrine/Ente...