THIS QUESTION IS NOT ABOUT HOW TO SET DEFAULT VALUE OF A WIDGET
Hello Symfonians!
I had a fundamental doubt about forms, Im putting 2 scenarios below.
I have a customModelForm that extends a modelForm.
1> If I do not specify a default value for a form field
new: field is empty
edit: field shows the value in the object
2> If I ...
Hi,
I have a form which has expanded beyond the desired height in IE6 only :(
Please view this fiddle for the problem:
http://jsfiddle.net/fbTDZ/
I don't see an issue in other browsers.
...
Hi,
Why Zend_Form produce <dl> <dt id="label-id"> <dd id="elem-id"> </dl> ?
(I understand that its produce by default decorators, but why and for what they used? )
Thanks
...
I have a form along the lines of:
class aForm(forms.Form):
input1 = forms.CharField()
input2 = forms.CharField()
input3 = forms.CharField()
What I'm hoping to do is add an additional input3 to the form when the user clicks an "add another input3".
I've read a bunch of ways that let me add new forms using formsets, but I don't w...
jQuery has a clone() function that clones the actual form with no problem, but it doesn't preserve any values that have been entered into the form.
Is there a way to get around this?
Sample code would be much appreciated.
...
Hello,
Please forgive if this question has been asked numerous times. I recently installed Eclipse Classic v3.6.0 which I need to create a little utility using Java. In Visual Studio I can create a new form then from the Toolbar I can drag and drop components (Button, TextBox, ListBox, etc) onto the Form. Is this possible using Eclip...
Hi, i have a simple text input field users put in a number. I need to check which range the number matches (e.g. >10 or <1 ) and save a separate key/value for that range in the database.
I thought about a hidden field that changes its value as the user enters data but i don't know how to determine the range.
(I cannot modify the submit...
In my ASP.Net page I have
<form id="MasterPageForm" runat="server">
However, whenever the markup is generated, it turns into
<form name="aspnetForm" method="post" action="SomePage.aspx..." id="aspnetForm">
Is it possible to set what the generated HTML id for the form is?
...
My form validates and submits fine, but the variables are not being printed in the emailed results.
Can anyone take a quick look at my processing file and tell me why this might be?
<?php
// CHANGE THE VARIABLES BELOW
$EmailFrom = $EmailFrom;
$EmailTo = "[email protected]";
$Subject = "Proposal Submission";
$FirstName = $HTTP_POST_VARS['...
This may sound, or actually be, a stupid question but I need to find the best way to proceed with a project I am on. I have a multipage webform, using the multiview control. That multiview is in an updatepanel control, and everything works great so far.
My question is about users with javascript disabled. What I have noticed is that in...
Alright, so I got my form to email most of the variables in php. However, my textarea variables show up blank and my textarea inputs print as "Array"
Here is a snippet from my form:
<label for="ProgramAudience">Intended Audience:</label>
<span><input type="checkbox" name="ProgramAudience[]" value="AcademicAffairsFaculty...
The JavaScript shown below inserts form input into a textarea at the current cursor position. The textarea id=mbentry. This works if all code is on the same page.
I want to have a hypertext link on page1.php open a little popup window (page2.php for example) so the user can enter text in the popup, close the window and have the input fr...
The goal is for an Acrobat form to fill a date field ("MeetingDate") with Today's date when the user opens it. If the user saves the form as is and opens it a few days later, the old date should still be there, not replaced by the current date. If the user changes date in the field, that date should be saved and should not be replaced wh...
Hello!
My problem is the following: i have a state machine inside an app and i need to be able to pause the current states's ProcessInput function as long as the user moves the form along the screen.
I have a property called "Paused" on the state which does that and i override the OnMove event of the form so that the property is set t...
Hi, in the backend a user can select a country via dropdown menu, e.g. "Germany". The frontend is bilingual so i have to dump "Germany" if language A is set and "Deutschland" if language B is set.
How can i save the selection and its translation to separate fields in the database?
Thank you for any help!
...
I'm troubleshooting a weird bug with a web app prototype and knowing when, precisely, Firefox autofills / autocompletes form fields would be useful. I have a small specialized audience and only need to target Firefox 3.6+. For this question, there is no server interaction beyond initial page load.
This question is just about the order o...
Hi everyone,
I have an HTML form that takes inputted data and sends it via the mail() function. I also have some validation techniques that validate the inputs, and I created an array variable $errors to log all of the errors; for example,
if the name was left empty, $errors[]="Name empty";
If the email was left empty, $errors[]="email...
Normally an HTML form sends query parameters as key-value pairs like this:
http://blabla/?something=something&this=that
But what I need is a form that generates a URL with one of the query keys omitted:
http://blabla/?something&this=that
As far as I can tell, a missing or empty name attribute does not quite provide what I e...
I am working on an app that is only used by a few people in-house, so I feel comfortable telling them to only use Firefox or Chrome, so I can use HTML5.
I was working on a very simple feature:
<style>
input:invalid { background-color: red; }
div.box {
border-color:#000;
border-width:thin;
border-style:solid;
}
</style>
<input t...
I am attempting to pass 2 classes to an element in a rails 3 application and having some issues with encoding.
<td class="edit">
<%= link_to 'Edit', edit_link_url(link, :class => 'edit_link ui') %><br />
<%= link_to 'Delete', link_url(link, :class =>'delete_link ui'), :confirm => 'Are you sure?', :method => :delete %>
</td>
c...