i have a form that utilizes checkboxes.
<input type="checkbox" name="check[]" value="notsure"> Not Sure, Please help me determine <br />
<input type="checkbox" name="check[]" value="keyboard"> Keyboard <br />
<input type="checkbox" name="check[]" value="touchscreen"> Touch Screen Monitors <br />...
Hi, im using MAMP on OSX 10.4.11 and while doing a form I came up with an issue:
<?php
$today = date("d.m.y");
echo "<div class=\"newpub\">
<form action=\"insert.php\" method=\"post\">
<span class=\"text\">Data</span><br><input type=\"text\" value=\"$today\" name=\"Date\" size=\"14\" height=\"1\"><br><br>
<span class=\"text\">Co...
This seems so simple but I can't remember how I've done it before.
Using PHP I'm posting a form from mysite.com/?x=y and want the resulting page to be mysite.com/?x=y&formx=formy...
Options I've tried don't quite give the desired result:
action - setting action="?x=y" clears the get variables if method="get" in place of those in the f...
My html looks this way:
<button type="submit" class="img" name="save" value="0">Speichern</button>
<button type="submit" class="img" name="save" value="1">Speichern und Schließen</button>**
When i parse the request by using Page.Request.Form[i] the value of the key "save" is "Speichern und Schließen" and not 1 an I don't see any poss...
I have the following in my template.php file:
function theme098_theme() {
return array(
'email_node_form' => array(
'arguments' => array('form' => NULL),
)
);
}
and...
function theme098_email_node_form($form) {
return drupal_render($form);
}
I've excluded the code where i actually modify the form and cut it do...
I'm using the Add Form to add records to my JQGrid. One of the fields is a checkbox. Does anyone know how to have the checkbox to be defaulted to checked when the form displays. I thought it would use the onInitializeForm event and the setCell method but I'm having no luck. Thanks.
...
I am posting a .zip file from the iPhone to a Rails server using an NSURLRequest. The problem is that the content-type of the zip file is lost in-transit. When I upload the same zip file from a web-browser to Rails, the content-type is preserved. This leads me to believe it's related to the way I'm sending it from the iPhone. Does anyone...
I am having an issue with a modal form. I have a text link that opens the modal form(working). Once the form opens it shows a registration page(working). The buttons used to submit the form are through the modal form. For example:
$("#register-dialog").dialog({
bgiframe: true,
autoOpen: false,
height: 450,
width: 400,
modal: true,
butto...
I want to build site with a search form on LEFT and RESULTS in content(center) part.
I know how to create modules .. but how do I assign their location ?
OR should I place SEARCH FORM as BLOCK and assign them to LEFT in build/block/.
SEARCH FORM has 3 textboxes, non of them is required.
"name","surname","age"
whatever user type in I'...
I have a web form that uses complete online. When they press submit it will start a file download for them.
At the moment, I process the form submission and generate a suitable file for the user and fire it off with suitable headers. eg...
header('Content-type: "application/octet-stream"');
header('Content-Disposition: attachment; file...
<form id="youtube-form" method="post" action="">
<label for="searchField" id="label-youtube-id">YouTube ID:</label>
<input type="text" id="searchField" name="videoid" class="search-field" />
<fieldset id="outputFieldset">
<legend>Output format:</legend>
<label for="flv">FLV</label>
<input type="radio" id="flv"...
I created a BLOCK (left) with this simple form.
Now I want to PROCESS and DISPLAY results on PAGE (center)
How can I do it ?
inputs:
name = James
surname = Bond
output I want :
<div style="color:red">Welcome, James Bond</div>
here is a BLOCK which i wrote and works.
<?php
echo drupal_get_form('myForm');
function myForm($form_st...
Have a form that is not being read by serialize() function.
<script type="text/javascript">
function submitTrans1(){
var formData = $('form1').serialize();
var options = {
method:'post',
postBody:'formData',
onCreate: function(){alert(formData)},
onSuccess: function(transport){alert("onSuccess alert \n" + transpo...
We have a Delphi 6 application that uses a non modal form with in-grid editing. Within the FormClose event we check that the entries are square and prevent closure if they're not.
However, if the user clicks on the main form behind then the original form disappears behind (as you'd expect) but this allows the user to move to a new recor...
Hello,
I'm trying to make a page with 2 fields (email and feedback) and 1 button. When the user clicks on the button, a table on a page else where is filled in with the data, permanently.
Does anyone have recommendations of how I should do this? I'd like to avoid having a script send me an email, or writing to a database. But if I have...
Hello, i'm trying to build a contact form in Rails 2.3.4. I'm using the jQuery Form plugin along with this (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) for validations. Everything works in my development environment (mac os x snow leopard), the loading gif appears and on my log the email gets sent and the "request co...
Hello guys,
User.Identity.Name returning empty string in Firefox. In IE it's working fine. I have an ajax call to controller and used the Identity to fetched data from DB. Problem is it will always return an empty string in Firefox. I already assigned cookie name in my webconfig under .
Your reply is greatly appreciated
Very Best,
...
This question is likely to be somewhat longer than SO's average questions, so I'll try to keep it as short as possible:
I'm designing a dynamic form that users need to fill in and submit. This form is massive, with over 500 possible questions. The questions displayed to the user depend on answers given in previous answers (for example; ...
In order to take a screenshot of a specific window, I need to place a white colored TForm behind that window. What Windows API could I use to change the z-order of my window and place it correctly ?
...
hi there, i have this files:
JAVASCRIPT
$(document).ready(function(){
$('a').click(function(){
$('div').load("formular.html",function(){
$('input[type="submit"]').click(function(){
$('form').submit();
});
});
});
});
formular.html
<form action="gigi.php" name='formular...