Category "forms"

Double listbox with CollectionType/ChoiceType for user roles

With Symfony 4, I don't have this problem : a simple form to choose or edit the role of an user with a listbox. Since I start a new project with Symfony 5 (with

Form repeater send wrong data with last element in Laravel

My form sends multiple forms of (name and image). However, the last element sends a name only with the wrong 'name.' Do I need to simultaneously make multiple i

Can't save data to database from input form - Laravel 8

it's me again. I have a problem saving data to the database from the input form that I made. Here is my web route: Route::get('/admin/data-karyawan', [BasicKary

Open a new window using data from input form

In a input form in a HTML file, the user is supposed to put an URL (let's call it thislink). Then I want, when the user clicks on the submit button, to open a n

Two legends in a fieldset

You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag? <!-- left legend --> <

In HTML, with JavaScript, create new radio button and its text?

I want that when the "Yes" radio button of a form (form1) is checked, a new form (form2) appears, with two radio buttons and their text "Yes" and "No". With an

Angular FormArray display validation errors

I have Angular form that is built with help of FormBuilder. Form contains a FormArray which has as many fields as user wants. I've set validator for fields this

How to create html5 custom validation?

I am using html 5 form validation for validate my form before submit, if is valid, submit, but I need validate my User Register form, so it need validate if Pas

Set and retain column widths of Split Form datasheet columns in MS-Access

I'm using a Split Form in Access 2012. Basic datasheet view on top with individual record and form header in bottom pane. I'm trying to figure if there's a way

Moving a value into an html form field

I am very new to JavaScript and would like to know how to go about the following. I have a form that I am using for entry to a fishing contest. It contains fiel

FastAPI UploadFile is slow compared to Flask

If I create an endpoint like below: @app.post("/report/upload") def create_upload_files(files: UploadFile = File(...)): try: with open(files

How to dynamically add a parent div (reparent) to a form without losing event handlers

I want to add a parent div to a form dynamically. No code is required, but here it is (simplified), before someone complains: <form id="fileupload" style

How to dynamically add a parent div (reparent) to a form without losing event handlers

I want to add a parent div to a form dynamically. No code is required, but here it is (simplified), before someone complains: <form id="fileupload" style

My button needs to update after an input field

I have the following problem, I made a form using HTML with some input fields. I also made the submit button disabled using the following JS code: if(document

textbox value change event not getting fired jQuery

I am filling texbox value through ajax call. I want to change event get fired when the value gets filled. ajax call: $.ajax({ url: 'ajaxExecute.aspx/GetCust

JavaScript IE double submit with form.submit()

I am experiencing difficulties with IE (8, 11) double submit which is triggered by JavaScript code: this.disabled=true; form.submit(); return false; Sentence

Django Nested Inline Formsets to Populate Multilevel Nested Form

I'm trying to solve a problem. I have a model hierarchy like this: class Task(models.Model): name = models.CharField(max_length=255) number_of_steps = m

Resetting all fields in a form when it is opened

I have two forms that lies under two tabs in a portlet. When I click on tab 2 I want all fields in that form to be empty. I don't want a button. I tried with: f

Why images paths not store in database MVC5?

I'm new to MVC so I hope to get help regarding my question. I am making users upload images. the image path will store in the database but the image itself will

Popup Window and PHP form

I've created a contact page and a separate PHP page to receive the posted data. I'd like to make the PHP open in a popup window. I've tried methods online witho