Skip to main content
Filter by
Sorted by
Tagged with
557 votes
17 answers
954k views

I have group of radio buttons that I want to uncheck after an AJAX form is submitted using jQuery. I have the following function: function clearForm(){ $('#frm input[type="text"]').each(function(){ ...
systemsfault's user avatar
  • 15.6k
26 votes
4 answers
49k views

Can anyone suggest the right approach for handling dynamic forms with ASP.NET MVC? I have cascading dropdowns on the page (options in the dropdown depends on the value, selected in the previous ...
Andrei's user avatar
  • 44.9k
25 votes
2 answers
55k views

I have found some similar questions like this one, however there are so many ways this can be done that it made me more confused. We are getting an XML file that we are reading. This XML contains ...
Shervin Asgari's user avatar
16 votes
1 answer
16k views

I asked this question and although the answer directly satisfied my needs I am left with a feeling that there has to a simpler solution for this specific problem. I would like to have a composite ...
Ben's user avatar
  • 10.3k
12 votes
1 answer
18k views

I have a form with a ModelChoiceField, and i want to load on it a table from my DB. If i use this queryset on my form's init, then my view's form.is_valid works fine: self.fields['categoria_formfield'...
Adrian Lopez's user avatar
  • 2,917
8 votes
2 answers
25k views

In my application i need to add a row on a click of a button and this button will be in all the rows. Need help to do this? Item Class public class Item { public Item() { } private String value; ...
Hariharbalaji's user avatar
6 votes
2 answers
10k views

I have a dropdown element in my Zeppelin notebook val instrument = z.select("Select Item", Seq(("A", "1"),("B", "2"),("C", "3"))) I want to use the value of this variable instrument in my sql. For e....
van_d39's user avatar
  • 775
5 votes
1 answer
12k views

I'm trying to make a three input select menu that allows a user to filter down to one course in the database to select. So the user first selects the location, and based on that selection is given all ...
Bradley's user avatar
  • 932
5 votes
2 answers
1k views

I have created a form that allows users to dynamically add as many fields as needed. Each of these is an inventory item that is assigned to a device. I have 3 tables, the Devices, the Inventory Items, ...
user avatar
5 votes
2 answers
2k views

I have a table that is dynamically created and it displays data as follows: <table> <tr *ngFor="let product of products"> <td>{{product.name}}</td> <td>{{...
user1100412's user avatar
4 votes
4 answers
32k views

To try the concept, I'm doing a very simple test. I got a form with some text input showing up from the start. When I click on a field, I want to capture its Id, and add a value to the input text. $(...
Nicolas de Fontenay's user avatar
4 votes
1 answer
3k views

I have a bean with a List<T>: @Named @ViewScoped public class Bean { private List<Item> items; private String value; @Inject private ItemService itemService; @...
La Chamelle's user avatar
  • 2,967
3 votes
2 answers
4k views

I would like to dynamically hide form fields. The user should be able to select the component type, which could be a VALVE in which case the user should specify the Kv value and the DI and length ...
arne's user avatar
  • 225
3 votes
1 answer
10k views

I'm having some trouble getting form fields to populate from an array. My original thinking is to input the array from individual components to a single component that will handle the form. Instead of ...
Lewis Morgans's user avatar
3 votes
1 answer
750 views

I am currently working in Open cart frame work. In that Open Cart, Dynamic forms are present.In that Dynamic form, so the script also dynamic, I have to calculate when the form data changes. during ...
user avatar
3 votes
2 answers
8k views

I have a React form with dynamic input fields that a user can add and remove input fields. When i submit the form, i log the values from each input in an array. The problem is that i can't type ...
nikostav96's user avatar
3 votes
1 answer
2k views

In Yii2, I have been trying to create a dynamic form using the below tutorials. Yii2-dynamicForm - GitHub and Youtube Tutorial. I followed the same step as mentioned in tutorials, unfortunately I ...
MIK's user avatar
  • 906
3 votes
0 answers
308 views

I have an input that's part of the form group which is a number saved on the server in meters. The frontend needs the ability to convert this value to whatever the user chooses in a dropdown list (...
Nick Persad's user avatar
3 votes
0 answers
1k views

Is it possible to dynamically generate choices in form collections? The situation: ItemEntity PropertyEntity These entities can be added and edited through the Item Form. When you add a type to the ...
murtho's user avatar
  • 1,061
2 votes
4 answers
12k views

I am currently adding an input via a .click event and then wanting to listen to any keypress that occurs on this input. However, the appended isn't firing any events after it is inserted (i.e. blur, ...
BinarySolo00100's user avatar
2 votes
2 answers
3k views

I have an Array named Menus. It contains a form name per element. How can I call them dynamically? For example, if Menus(1) = "Login", and Menus(2) = "Logout" I need to say Login.Show but I want to ...
itsols's user avatar
  • 5,592
2 votes
2 answers
3k views

I have been attempting to create a form where a user can simply press a button and the form will add a new field for the user to use. I have 2 of these dynamically added field types. Firstly a field ...
Björn's user avatar
  • 203
2 votes
3 answers
665 views

I want to create a script that does the following: When answering questions via a radio, drop-down, or checkbox, the script checks When selecting a radio button (or dropdown, or any form element ...
Sander's user avatar
  • 1,401
2 votes
1 answer
2k views

New to HMVC in Codeigniter. Dynamic form allows new "segments" to be created when a user clicks a link. Currently the segment html & php is in module/view/segment_view.php. The view ...
csi's user avatar
  • 9,368
2 votes
1 answer
468 views

I'm trying to create dynamic calculator using Vuetify. Here's my code <v-row class="mt-8 align-self-center"> <v-col cols="2"> <v-text-field :value="...
ella's user avatar
  • 115

1
2 3 4 5
7