Increase and decrease buttons for quantity - Gravity Forms

Hello, I’m looking for somebody able to create code to implement increase decrease buttons (+ and -) to modify quantity in single product field and in quantity field.

Here what I would like to obtain:
quantity-modification

Thank you

Paolo

Hi Paulo. I found something close to this:

https://jsfiddle.net/polaszk/1oyfxoor/

Hi Chris thank you very much for the link you shared, I managed positevely to eliminate the arrows via css.
I’m thinking about how to implement it in gravity forms, I was thinking of inserting the js code in functions.php, but I don’t know which DOM to target. Any idea?

You can insert the JS in the theme functions.php, or sometimes right into an HTML field you add to the form.

As far as which element to target, can you share a link to the page on your site where we can see the form, and let us know the title of the field you want to target? We should be able to inspect the element to get the ID you need to target.

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.