I'm struggling here a lot really.
I need to prepare a form that is something between static and dynamic.
Basically on the first part of the survey you get a question asking you to select items from the checklist. You select the items and then you are presented with a list of n number of questions.
Now, some facts:
the questions and p...
Good Morning Stack Overflow,
I'm new to asp.net and have a problem I'm trying to sort out, maybe you can help?
The result im looking for is that the data goes into CANRADcontacts and CANRADcollreg which share a common ID.
I am populating the database via a web form, and can't quite get the SQL correct, please see this example;
Protec...
Hi,
I would like to know if there is any library around I could use to generate forms and maintain them without too much pain. I'm working on an app with hundreds of form, and we have been re-inventing the wheel for all of them so far. It's not really DRY and I have to test them all.
I know that some framework can manage forms quite we...
I have a multi selection combo box and a checkbox in a form.
I'd like the checkbox to be enabled only when user selects a particular value from the multi selection combo box.
Is this possible to do ...either by javascript or jQuery. I am already using jquery elsewhere.
Example: http://jsbin.com/ipomu
to begin with checkbox will be...
Is it best to wrap forms inputs in divs:
<div id="formContainer">
<div>
<label for="username">Username</label><input type="text" id="username">
</div>
<div>
<label for="password">Password</label><input type="text" id="password">
</div>
</div>
Or is it better to wrap in ul or ol list with list-style-type set t...
Hi,
I currently have all the usual components inside a panel in a form, but how can I have it so when I resize the form it will move the components with it?
I already tried
this.panel1.size = new System.Drawing.Size(this.form.size.width, this.form.size.height);
but it didn't work
...
I get hash from a fields_for that looks like this:
"affiliation_attributes"=>{
"11"=>{"volunteer_id"=>"14", "affiliationtype_id"=>"1", "organization_id"=>"1"},
"1"=>{"volunteer_id"=>"1", "affiliationtype_id"=>"3", "organization_id"=>"1"},
"4"=>{"volunteer_id"=>"2", "affiliationtype_id"=>"3", "organization_id"=>"1"},
"21"=>{"volunte...
Hi,
I've created a combo box in a form using the following:
<select id="end_minute" name="end_minute">
<option value="00">00</option>
<option value="15">15</option>
<option value="30">30</option>
<option selected="selected" value="45">45</option>
</select>
In Firefox, he first option is selected, but in IE the option with att...
How should I mark input fields as invalid (i.e. color, background-color, border, etc.)
Currently, changing borders requires restyling of the whole input field, otherwise the border will change from the default browser styling (which is different for every browser).
Similar, changing the background-color messes up the border of input fi...
What's the simplest way in Ruby-on-Rails to create several simple hidden fields with known values and the same name in a number of non-model forms (form_remote_tag in my case, but I'm guessing that isn't relevant)?
By "simple hidden field", I mean one where the name is just a single string (field_name) rather than part of an array (fie...
I have old HTML code with html and css..
<form action="login" method="post">
<div class="field">
<label for="username">Username</label>
<input type="text" class="text" id="username" name="username" value="just click login !"/>
</div>
<span class="fright">
<button class="button" type="submit"><strong>Log In</strong></button>
</spa...
Hello,
I am trying to create a validate-email javascript and get it working with forms and PHP. Of coures, some problems...
As you can see in my form, I did define "post" as the method. But I can only retreive the data as if it was a get method. It was working before I started to add the e-mail verification script and adopt the code t...
I have a Customer class linked to several other classes via foreign key. I want to have the forms working in such a way that if the submitted customer record already exists, then this record will be used as the foreign key for the dependent class.
I've declared the Customer class as:
class Customer(CustomerBaseInfo):
date_time_ad...
hi,
I am working on a windows forms application using C# in visual studio 2008 team system.
I would want to display a different form at start up of application. Please help (In project properties , under application tab there is no display of different forms name in the combo box)
...
I am having problems figuring out how to retain users data when the validation fails. I am somewhat new to PHP so I might be making some huge mistakes in my logic.
Currently if the validation fails all the fields are wiped clean and $_Post data is also gone.
Here is some code assuming the user enters an invalid email I want the Name f...
I have a form field for "E-mail" address and I want to set up a small form at the top of each page that has a field for "E-mail Address" and then a Sign up button that takes you to a page to complete a detailed form for mailing list subscription. The two things I'm having problems with:
How do I pass the data entered in the form to th...
Hi, I have a Java program that I'm trying to interact with over the web.
I need to gather form data from the user on a Drupal site that I don't have any control over, send it to the Java program, and send the output back to the user. The Java program needs to load a lot of libraries every time it's run, so it needs to be up waiting for ...
I'm writing some form. I have one field in this form that contains a number. If this number for example is 3, i want this form to enable 9 new fields so i can add the values for those 3 new participants.
<li>
<asp:Label ID="lblAantaldeelnemendeploegen" runat="server" Text="Label">Aantal deelnemende ploegen: <...
I have done a ModelForm adding some extra fields that are not in the model. I use these fields for some calcualtions when saving the form. The extra fields appear on the form and they are sent in the POST request when uploading the form. The problem is they are not added to the cleaned_data dictionary when I validate the form. ¿How can I...
Hi,
I am about to start a large Django project at work. And the key features are form handling. There is going to be a lot of forms that the users of the app is going to use. And one requirement is that it should be possible to edit the forms in the admin interface of the application.
That is, it is not a requirement to add/delete for...