I wanted to know if it was possible to create a control from another control and which this new control could process certain events.
For example, lets say we have a Button that once it is clicked on will create a ComboBox. Could this new ComboBox be capable of processing a certain event such as a SelectionChanged event?
...
Just wondering, is there a way to tell access to only display the forms/reports without displaying the access window itself (the "shell" window that the access forms populate inside of).
just wondering.
...
Hi all,
I was wondering if anyone knows how to get information from an XML file and turn it into a form select/list using php.. This is the XML schema:
<?xml version="1.0" encoding="utf-8"?>
<expose version="2.1">
<collection _mngid="1">
<collection _mngid="1">
<title>Heatherton Football Club</title>
<thumb>
<...
I have created a form that needs to show data from 2 tables (parent and child). When the form is submitted only the child fields are updated (the parent fields are meant to be display only). While the parent model fields are displayed these need to be protected from updates (preferably via the formbuilder, rather than via css).
FWIW th...
I'm attempting to take 4-5 fields from a large django form and display them on the thanks page.
I want to disply the values with a good degree of control, as i'll be building an iFrame with parameterd querystrings based on the form inputs.
Currently I have:
forms.py ----
-*- encoding: utf-8 -*-
from django import forms
from django.fo...
I am setting readonly="readonly" (in other words, true) via javascript:
document.getElementById("my_id").setAttribute("readonly", "readonly");
This is having the intended effect (making the field no longer editable, but its contents are submitted with the form) in FF, Safari and Chrome, but not for IE7. In IE7 I can still modify the c...
Hi
I have missed the cross domain waggon, and have just started investigating.
My question is:
Is it possible add data to the eg. input/@name="x" field in domain-a.com/form.html
from domain-b/add.html?
As far as I know it is not possible with JavaScript to write to the domain-a's document from a function in domain-b.
But I think I h...
I have a form with a select box that allows multiple options. After a user saves these options, it stores them in a database table.
I can then read this database table to get the options they chose one again. I need to be able to grab this data from the database, put it into an array, then have the options in that select box to be pre-...
In the file http://example.com/path/foo.php, I have the form (formatting deleted):
<form action="/path/foo.php" method="post">
Email: <input type="text" name="email">
Password: <input type="password" name="password">
<input type="checkbox" name="remember" checked="checked"> Remember me
<input type="submit" value="Log In">
</form>
Some...
Hey all,
I have an issue where a particular modelform whose object is a many-to-many field pulls up the first entry there by default when passed to a modelformset_factory. An example follows:
Say I have an Order object that has a many-to-many relationship with a Group. I have a form whose only editable field is a single input box with ...
I am using WindowsFormsIntegration in a WPF project to add a DataGridView and I am having some problems with it simply being drawn in the window (it takes a while).
I am aware of the solution with the doublebuffered datagridview but how can you use this in XAML for WPF or in C# for WPF?
An example of the doublebuffered datagridview in ...
Hello,
I am facing a strange behavior when I apply a non-rectangular region to a Windows Form (lets say an ellipse). The issue is that the form seems to disappear for a moment (as if the region is empty) when initially resized. It looks like a slight flicker whereas the contents of the desktop behind the form become visible for a fracti...
I can think of one way to do this, however I don't know if its the only way.
On a page on my website, I have a two select boxes, a 'parent' select box and a 'child' select box. The values that are inside the 'child' select box depend on what is selected in the 'parent' select box. This would be easy to solve in JavaScript, via AJAX call...
Let's say I have a form that collects a first name and a last name:
$first_name = new Zend_Form_Element_Text('first_name');
$first_name->setLabel("First Name")
->setRequired(true);
$last_name = new Zend_Form_Element_Text('last_name');
$last_name->setLabel("Last Name")
->setRequired(true);
$form = new Zend_Form();
$form->addEle...
How do you change the style of a text box from the default. For instance, so it looks like:
or
instead of:
...
I have a C# Windows Forms app.
I have a TabControl on it, and depending on user settings, will dynamically use TabControl.Controls.Add to add a specific set of TabPages to the tabs. The TabPages aren't special, they just have buttons and text.
Doing this dynamically, even for small amount of tabs, is slow as hell. Every "Add" call, o...
I'm trying to make a threaded comments system that behaves like Reddit's: I click "Reply" on a comment, a form shows up. This form has a "Cancel" button that removes the form, going back to the original state.
I'm trying to achieve that with one link_to_function that adds the form, and the form itself has a button_to_function to remove ...
On a website I'm working on, I would like to collect a user's name and email address to add to a mailing list.
My question is NOT how to do this, I know that part.
What I would like to know is, how would I do this so as to avoid spam, robots, etc?
I would like to prevent as much non-human interaction as possible, while keeping the HTM...
I'm currently working with a lot of forms which are expecting different forms of numeric input and I thought that it would be helpful to the user if I could indicate the units next to the input.
In other words, if an input expects a dollar amount place a dollar sign to the left side of the input. If the input expects a percentage place...
Hi everyone,
I'm currently trying to get a script to submit a form to a page that is external to my site but will also e-mail the answers given by the customer to me. The mail() function has worked fine for the mail... but how do I then take these values and also submit them to the external page?
Thanks for your help!
...