Category "forms"

Django Dependent/Chained Dropdown List in a filter

I am using Django to implement my web page; in this page I have a classic item list that I manage with a for loop. I also implement a filter as a form (with sea

Material-UI InputLabel covers text when Input value set by another Input field

I am creating a form with Material UI. The form has two sections. One is the user's shipping address, and the other is the billing address. In many circumstance

Material-UI InputLabel covers text when Input value set by another Input field

I am creating a form with Material UI. The form has two sections. One is the user's shipping address, and the other is the billing address. In many circumstance

Register is not a function when passing as a prop?

I use react-hook-form for the first time. I was reading the docs and followed along. Likewise, I already laid out my components and styled them. Now I am trying

Custom onChange for React Hook Form and watch()

I am trying to write a custom onChange and watch the change. Error: The watched myValue does not register the changes in the dropdown. Any ideas why? According

Prefill customer email via Stripe Payment Link URL

I'm testing out Stripe's new Payment Links in a project, and I'm trying to prefill a user's email address in the email field of the checkout form. I tried appen

Get content of span

how can I get the contents of span ? I'm looking for a way for all of this to be vanilla, not jQuery javascript (and a little jQuery) var swear_words_arr=new

Password Validation Not Working For Flask Form

I'm trying to implement a form where I want a message to be shown in advance if passwords don't match. I have added a data required validator but password match

Open A New Page After Form Validation JavaScript

I want to open a new page after i validated my form.There is no problem with validating it .But my form never submits ,and the html page i want to redirect to m

Laravel display validation error

I try use this code: @foreach($errors->all() as $error) <li>{!! $error !!}</li> @endforeac

How to use yup validation on dynamic form using react-hook-form with useFieldArray

I'm trying to create a dynamic form using react-hook-form's useFieldArray hook. The user should be able to add or remove fields, thus making it dynamic. I've lo

ERROR Error: Cannot find control with path: 'products -> Quantity'

When I add one product in my form, show this error. My code ts: this.products = this.ps.getProduct(); this.addform = this.fb.group({ 'invoice_number': new F

Google Tag Manager Form Submission with Formik

Try as I may, I am unable to successfully track any form submissions with Google Tag Manager when the form is submitted by Formik in a React project. I have tr

material-ui TextField disable Browser autoComplete

I use material ui v0.20.0 and I have to prohibit saving the password for a user with TextField. I added props to TextField autocomplete='nope' cause not all the

A MultiSelectField with a select2 widget is not properly working for EDIT in Django

I have a form I am trying to understand its behaviour in Django. The form code looks like : class RequestForm(forms.ModelForm): TIMEPOINTS = (

How to remove the top bar from a resizable form on Windows 10?

I am trying to remove title-bar of a form while keeping the border to have a resizable form. I set the BorderStyle to bsNone and override the CreateParams proce

Lighthouse error: "Form elements do not have associated labels"

How do I fix this Lighthouse error: Form elements do not have associated labels <input type="text" id="s" name="s" value="Arama..." onfocus="if (this.

Django CheckboxSelectMultiple not displaying in ModelForm

I'm trying to use CheckboxSelectMultiple in a form, instead of the SelectMultiple default. I tried two different ways to make it display as checkboxes, but they

Form hidden field and required validation use

I have an HTML5/Bootstrap form with hidden fields: style="display: none" which i show/hide via jQuery: show() | hide() For field validation i use the attri

Set Form action in wordpress

I am creating form for wordpress website. Currently i am getting value on same page successfully with blank action. Now i need to get form value on data.php pa