I am creating a form that will list products and allow the user to change the quantity, then enter their address, name etc and submit the form. Nothing complicated like adding payment processing. However, I just wanted to ask here if there is any easy(ier) ways to make the quantity fields more dynamic with buttons to change them up and down. I could code them and use the "custom code" option to add in the buttons, javascript and css. Has anyone done this already? or point me towards a automated way to do it.
Thanks.
Thanks.
Hi rodopemu.
The simplest solution is to add an input of type='number' which will load the default jQuery number spinner. You can't set the type of a Text input in Cfv5 :-( but you can use a Custom Code element and add for example:
Bob
The simplest solution is to add an input of type='number' which will load the default jQuery number spinner. You can't set the type of a Text input in Cfv5 :-( but you can use a Custom Code element and add for example:
<input type='number' min='0', max='50', step='5' name='number' id='number' class='form-control A' />
The min. max, and step attributes are optional.
Bob
This topic is locked and no more replies can be posted.