Questions tagged [dynamic-forms]

Dynamic PDF forms can re-render on the client depending on user interaction (adding or deleting controls, changing layout and colors). They were first introduced in Adobe Reader 7.0 and can be interactive or non-interactive.

Dynamic PDF forms can re-render on the client depending on user interaction (adding or deleting controls, changing layout and colors). They were first introduced in Adobe Reader 7.0 and can be interactive or non-interactive.

311 questions
544
votes
16 answers

How to uncheck a radio button?

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(){ $(this).val(""); }); $('#frm…
systemsfault
  • 15,207
  • 12
  • 59
  • 66
33
votes
3 answers

How to dynamically add JSF components

Can I add JSF components dynamically? I need to have a form with a button which should add one to the form. Is this possible? I know this should be possible in JavaScript somehow. Do anybody know how to do this in JSF? I think the…
ErVeY
  • 1,524
  • 4
  • 16
  • 26
27
votes
6 answers

ASP.NET MVC Dynamic Forms

Can anyone suggest a good way to develope 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 dropdown). All the values come from the database. How can I…
Andrei
  • 42,814
  • 35
  • 154
  • 218
25
votes
2 answers

How to create dynamic JSF form fields

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 information on some form fields that needs to be…
Shervin Asgari
  • 23,901
  • 30
  • 103
  • 143
25
votes
6 answers

focus() not working in safari or chrome

I have a div that has been given a tabindex, when the div is focused(click or tabbed to) it does the following: inserts an input into itself, gives the input focus this works great in FF, IE and Opera but in Chome/Safari it gives the input focus but…
BinarySolo00100
  • 1,005
  • 3
  • 12
  • 18
16
votes
1 answer

How to implement a dynamic list with a JSF 2.0 Composite Component?

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 component that accepts a list of items (The type of…
Ben
  • 10,020
  • 21
  • 94
  • 157
16
votes
6 answers

How to Uncheck A radio button

I have two forms, one with a radio button that users must select to edit. [form name="A"]
  • [input type="radio" name="BookItem" value="1" /]
  • [input type="radio" name="BookItem" value="2" /]
  • [input type="radio" name="BookItem"…
  • user281867
    • 587
    • 3
    • 11
    • 21
    13
    votes
    2 answers

    Angular Material Stepper causes mat-formfield to validate for dynamic forms when returning to an older step

    A problem is occurring with the angular materials mat-stepper when working with dynamic forms. For example I have a stepper with 3 steps each having there own form. The first step however uses a hidden form to determine if it is valid or not as this…
    L1ghtk3ira
    • 3,021
    • 6
    • 31
    • 70
    11
    votes
    1 answer

    Django - How ModelChoiceField queryset's works?

    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'].queryset =…
    Adrian Lopez
    • 2,601
    • 5
    • 31
    • 48
    9
    votes
    4 answers

    Advice with Dynamic Forms in ASP.NET MVC

    I am working on rendering a dynamic form in an ASP.NET MVC view that will meet these requirements: Fields can be validated State is preserved when the form is invalid I am looking into creating a custom model binder to achieve this. I am generally…
    Ronnie Overby
    • 45,287
    • 73
    • 267
    • 346
    8
    votes
    2 answers

    How to Dynamically add a row in a table in JSF?

    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; public Item(String value) { this.value = value;…
    Hariharbalaji
    • 2,498
    • 8
    • 36
    • 51
    7
    votes
    2 answers

    Adding Dynamic Input Fields With VueJs

    I'm using Laravel 5.7 & VueJs 2.5.*... I know how to add input fields dynamically but for my app i don't understand how to do. I have 'TicketInvoice.Vue', In that page i have a bootstrap modal to create & update my invoices. I have 2 saperate DB…
    6
    votes
    5 answers

    CKEditor freezes on jQuery UI Reorder

    I am attempting to reorder a dynamically created list of CKEditors using the jQuery UI framework, but I am having an issue with the editor freeing. It worked perfectly when I was just using a