Jump to content

up and down select form


dotkpay

Recommended Posts

I meant the ones used for example by dating sites during registration for users to input their exact age. Imagine a user selecting his age from a list of 18-120 years. They are the size of a small text field with just up & down buttons. I can't seem to find a site using them at the moment cause I would have just looked through the page's source.

Thanx for your efforts.

Link to comment
Share on other sites

This is done with javascript. You will add your buttons beside the select, and when they are clicked, the year is increased/descreased. You can also use a textfield and change the value of the textfield if you prefer this. The advantage of using a select however though is that even if the user has javascript disabled, they can still use the element and are restricted to the values provided.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.