Top "Form-fields" questions

Adding asterisk to required fields in Bootstrap 3

My HTML has a class called .required that is assigned to required fields. Here is the HTML: <form action="/…

css forms twitter-bootstrap-3 form-fields
How to turn off html input form field suggestions?

By suggestions I mean the drop down menu appear when you start typing, and it's suggestions are based on what …

html form-fields
jQuery: find input field closest to button

I have a large HTML form with multiple input fields (one in each row). Among these I have several fields …

jquery html closest form-fields
How to add class, id, placeholder attributes to a field in django model forms

I have a django model like below models.py class Product(models.Model): name = models.CharField(max_length = 300) description = models.…

django forms attributes django-forms form-fields
(Flutter) TextFormField Change labelColor on Focus

I am trying to change my labelText color when focused. I can change the text color but not when focused. …

flutter dart form-fields
How to add custom class to label in Yii2 form field?

I want to add a custom class to label tag in this code in Yii2, but I don't know how. &…

yii2 form-fields
Using Javascript to Open a New Page and Populate Form Values There

I am using JavaScript in a bookmarklet to populate form elements on a website: javascript:var f = document.forms[0]; f.…

javascript bookmarklet settimeout form-fields
How can I put the asterisk of my required field on my label? (Symfony form)

I am working on Symfony 3 and I have some trouble with my form. When I create a Symfony form with …

forms symfony required form-fields