Top "Forms" questions

A form is essentially a container that can be used to hold any amount of any subset of several types of data.

Undefined index error PHP

I'm new in PHP and I'm getting this error: Notice: Undefined index: productid in /var/www/test/modifyform.php on …

php forms post undefined
Submit form without page reloading

I have a classifieds website, and on the page where ads are showed, I am creating a "Send a tip …

javascript php html ajax forms
Angular2 - Radio Button Binding

I want to use radio button in a form using Angular 2 Options : <br/> 1 : <input name="options" ng-control="…

forms radio-button angular
JavaScript: how to change form action attribute value based on selection?

I'm trying to change the form action based on the selected value from a dropdown menu. Basically, the HTML looks …

jquery forms dynamic action
How to reset radiobuttons in jQuery so that none is checked

I have radio buttons in HTML like this: <td> <input id="radio1" type="radio" name="correctAnswer" value="1"&…

jquery forms
How to make input type= file Should accept only pdf and xls

I used <input type= "file" name="Upload" > Now I would like to restrict this by accepting only .pdf …

html forms
How to remove the arrows from input[type="number"] in Opera

Just looking to remove these arrows, convenient in certain situations. I would like to preserve the browser's awareness of the …

css html forms input opera
Disable submit button when form invalid with AngularJS

I have my form like this: <form name="myForm"> <input name="myText" type="text" ng-model="mytext" required /&…

forms angularjs button disabled-control
jQuery: serialize() form and other parameters

Is it possible to send form elements (serialized with .serialize() method) and other parameters with a single AJAX request? Example: $.…

jquery ajax forms serialization