form

Need idea to create the dynamic menu strip in windows application using data table.

Menu style: File . Tool -file1 -tool1 -file2 -tool2 -file3 -tool3 datable contains the rows like. col1 col2 ------------ File file1 File file2 File file3 Tool tool1 Tool tool2 Tool tool3 How to bind my data table value into menu strip dynamically i get my data table values from database dynamically. Based on my...

User settings mechanism for Yii

Hi guys! I need some help with user settings mechanism for my Yii-based application. I've created the following db structure to store user settings: table user with the following fields id | username | email | etc. table settingslist (to store a list of all possible settings with descriptions) with the following fields id | code ...

$this.attr() stops Jquery dialog from opening

I am using the following code to post my form data to player/index.php and open it in a dialog. Because I have multiple of these forms in my table I need to use $(this). But now it doesn't open in a dialog. New code (doesn't open dialog but display data in url): $("#recordingdialog").dialog({ //other options, width, height, etc......

PHP email form multiple select

I'm trying to set up a simple PHP contact form for a website and I need some help modifying the PHP to list multiple items from a select menu and would appreciate the help. I'm a graphic designer, not a developer, so a lot of this is way over my head. This is the problem area here: <label for="Events[]">Which Event(s) Will You Be At...

(Symfony) How can i change the templating of a form in sfDoctrineGuardPlugin ?

How can i change the templating of a form in sfDoctrineGuardPlugin? That is, I need to change the html (class, id) of the input elements (username, password) of a login form provided by sfDoctrineGuardPlugin. I've changed apps/app_name/modules/sfGuardAuth/templates/singinSuccess.php, but it then just echoes $form (I need to change cont...

Attach file to mail using php

Hi all, I've created a form which contains an upload field file and some other text fields. I'm using php to send the form's data via email and attach the file. This is the code I'm using but it's not working properly. The file is normally attached to the message but the rest of the data is not sent. $body="bla bla bla"; $attachment ...

Declaring an object of a conditional type with a System.Type

I am attempting to launch a specific form depending on the selected node of a treeview on the doubleclick event. The code I need to use to launch the form is a little bulky becuase I have to ensure that the form is not disposed, and that the form is not already open, before launching a new instance. I'd like to have all of this checkin...

Sync Flash AND HTML request on form submit

I got a regular HTML form, responsible for simple text input, as well as a custom Flex application, allowing files to be selected & customized. Now I can't figure out how to "bring the two together" in my backend when I hit the submit button - to save the files with the meta info from the form in my database. What to do? Suggestions ve...

Posting a form using AJAX

Hi everyone, do u have an idea of how to send my radio button name for myAjaxPostrequest.send(parameters); can parameters be like this: var answername=document.getElementById('option1').name; var parameters=answername; ? this code is for using ajax to post a form and my php page needs the name of the radiobutton clicked I tried...

Submit form with POST data in Android app

I've been searching the web for a way to do this for about a week now, and I just can't seem to figure it out. I'm trying to implement an app that my college can use to allow users to log in to various services on the campus with ease. The way it works currently is they go to an online portal, select which service they want, fill in the...

Enter Key for Login Form

I have a search form and a login form on my website. When the enter button is pressed when the login form has focus, the search runs instead of the login. Is there a way to fix this? I've already tried using a panel around the login form and use defaultbutton, but the loginview errors when I do this. ...

JQgrid:Get the action from the pager

Hi, how can i get the action (what button was clicked) when a button is clicked in the pager?(edit, del, add...) ...

How to make this very long url appear short?

I have made most my site SE friendly, but one part of my site bugs me... I have a HUGE form in one of the pages, and when submitting the form (action=php_page) URL is so long it covers half a word document in one line with all the passing variables... This is very ugly... Is there any way to make this long URL appear short? Or some o...

POST a form in an iframe.

I would like to POST a form in an iframe, generated like so: My JS loads an iframe inside the page, adds a form to the iframe and submits the form. What I would like to happen is the iframe to load the result of that request. So, I would effectively like to post a form and render the result inside the iframe, without touching the parent...

HTML input type="submit" doubles row height in table

I have a HTML table where some rows have a button like this: <td > <form action="..." method="GET"> <input type="submit" value="..."/> </form> </td> The rows with the input have about twice the height of other rows that have otherwise similar data. When I remove the just the input, the row height goes back to normal....

Is a emmulating a form submittal possible with PHP?

Using PHP can you create a pseudo form submit without ever generating a form? Just initialize and declare variables and them pass them to another page via the POST or GET methods? ...

What are the data type limitations of the POST and GET HTML Form Methods?

What are the data type limitations of the POST and GET HTML Form Methods? Are you limited to passing only specific data types like--strings, integers, floats. ...

jQuery: form input values turns up undefined

Having problem with this bit of code qith jQuery. it should pick the values from current form and then submit them, but when I try to get them with jQuery they always turn up undefined. I know the SQL results are fine since they show correctly in HTML table, so it must be my inferior javascript skills. New with jQuery and I'm at loss :( ...

Dynamic form builder using asp.net sqlserver

Hello, I would like to build a dynamic form builder using asp.net with jquery and a sqlserver as backend. The approach I wish to use is to modify the table structure based on user request so I have a database which is structured as one would normally store data in sqlserver i.e. mostly a single table (barring consideration of sub-table...

POST body in Node.js and some asynchronous condition check.

I want to get request (POST) body from http.ServerRequest, but do so not straight when my request function is called, but only after some time (Redis query). I have a very simple example to illustrate: var http = require('http'), sys = require('sys'); http.createServer(function (req, res) { sys.puts("Got request"); req.pau...