If I do not create an "Edit->Copy" menu item and assign it the shortcut keys "CTRL+C", then I can select a control (RichTextBox, DataGridView, etc..) and hit "CTRL+C" and the control itself will handle the copy. I can copy text out, and paste it into notepad, etc..
Now throughout my whole form, I have a lot of controls. But I have a cus...
I'm working on a form validation script at work and am having some difficulty. The form is meant to make sure that the user fills out a name, a real-looking email, a category (fromt he drop down) and a question:
This names the form and gathers all the data up from the form:
<script>
function checkForm(form1) {
name = document.getEl...
I was playing around with Outlook forms (through Tools -> Forms -> Choose Form), and now all my existing Sent Items look like Contacts with actual messages embedded into the Notes field; I have no idea how that happened! How can I fix it???
Thanks!!!
...
Our Delphi 7 development team stores form files (dfm) in text mode, and uses a source control system (Subversion) to track changes.
Sometimes, we noticed that a form file returned to binary format between revisions, causing diff tools like TortoiseMerge to complain.
Using the Subversion change log, I can see that the DFM file was store...
Hi,
I'm trying to create a BMI calculator. This should allow people to use either metric or imperial measurements.
I realise that I could use hidden tags to solve my problem, but this has bugged me before so I thought I'd ask: I can use $_POST['variableName'] to find the submitted variableName field-value; but...I don't know, or see, h...
Is there a way to pass a object, specifically a form_builder object used in a view, to an action in the controller? I am using a link_to_remote and want to update a variable in the controller and then add a new nested form element to my form via a render :update block.
If I pass it as a param, it gets converted string and I can't seem ...
Hi,
I have a simple windows application in C# with 3 forms.
first form is main form (its name is FrmMain), second is FrmData and third is FrmShow.
In main form (FrmMain) I have created an instance from second form (FrmData) and show it :
public partial class FrmMain : Form
{
public Form FrmModifyData; //for FrmData
...
I am having one heck of a hard time trying to figure this out. Been looking at examples and tools for JQuery validation for over 3 hours now.
All I want to do is require that a checkbox is selected and a radio button, but I don't care which one is required.
<form id="form1" action="/controller/action" method="post">
<div cl...
What I need to do is create a form something like this:
<form method="post" promptpermission="email" action="blahblah">
(Note the promptpermission attribute.)
Is there any way I can do this without straying to far from the helper?
<?php echo $form->create(); ?>
Since it's only one form, I'm loath to go mod very much. Is there a qu...
I have been trying to write a small app with its own option windows. When I try to launch the window I can never seem to set focus on the new form. This is not a mdi form, but merely a new form that I create when a user selects an option from the menu. It should be noted that Form.Show is return false, which means that the new form is ne...
I am trying to get rid of the default bevel and border that most browsers/OS have set as the default on Submit buttons. When I use CSS to add a background image it just displays the image in the background of the button but the bevel is still there. Is there a way to make the button just display just my image? Is the only way to do th...
I need a textbox which only the user can permit to enter integers. But the user can't enter zero. i.e, he can enter 10,100 etc. Not 0 alone.
How can I make event in KeyDown?
...
I know this page is a mash of different things and breaks many rules but it's a short term solution till the new quiz system is made. I did this quiz system on another site and it worked but when bringing it over to this site FF3 (maybe others) have stopped submitting the code. I have since worked out it's because of the doctype.
Can any...
I have an html form in a view that needs to be reset from time to time. Problem is, fields enable/disable based on input. Therefore, the only way to truly reset the form is to reload the view (I would prefer that the entire page is reloaded). Due to several scenarios, simply refreshing does not work. I need the equivalent to Response...
Typically I style forms with the unordered list tag e.g.
<fieldset>
<ul>
<li>
<label for="txtName">Name</label>
<input type="text" id="txtName" />
</li>
</ul>
</fieldset>
However, often I see markup that uses the <p> tag instead, like so:
<fieldset>
<p>
<label for="txtName">...
I have done some research, and majority of the examples I have found use forms (obviously for user input) to collect data which is then passed to another JSP page through the request object.
My question is: "Is it possible to pass a parameter between JSP pages IF the parameter hasn't been set in HTML tags?"
Thankyou,
Lucas
...
In Dynamics AX 2009 I created a wizard, and now I want to add a field to select a path from the local file system.
Since there is no special control for selecting a path, how do I achieve this?
Do I have to add a StringEdit with a special ExtendedDataType to get a path selection? I found no extended data type "path" or the like.
Or is ...
I have a model for which the need is to show the form multiple times. I have used it under a modelformset. I seem to have a problem with the id of this model which is also the primary key for the model.
I prepopulate the formset with data which I wish to edit.
But whenever I click on submit it refreshes the page back with an error saying...
The mailing list form I am creating has the following fields: first name, last name, street address, city, state, zip, email, and phone number. I created the form using list items and css NOT tables. I want the first name and last name labels together on the first line, the street address all by itself on the second line, the city, state...
I have a Zend_Form_Element_Multicheckbox and I want to put some of its elements in a readonly state, how do I do that?
$colId = new Zend_Form_Element_MultiCheckbox('colId');
$colId->setLabel('Col ID')
->setMultiOptions(array_flip(array('sadda', 'asss'));
...