Git Product home page Git Product logo

vl-date-selects's Introduction

Date Selects

Return select options for months, days, and years.

Example Usage:

{exp:vl_date_selects start_year_offset="50" end_year_offset="21"}
	<label for="month">Month</label>
	<select name="month" id="month">
		{months}
	</select>
	
	<label for="day">Day</label>
	<select name="day" id="day">
		{days}
	</select>
	
	<label for="year">Year</label>
	<select name="year" id="year">
		{years}
	</select>
{/exp:vl_date_selects}

Parameters:

  • end_year_offset: The number of years from the current year for the end range of years. If not specified, the current year will be used.
  • start_year_offset: The number of years from the calculated end year for the start range of years. If not specified, the start of the range will be 100 years less than the calculated end year.

vl-date-selects's People

Contributors

davist11 avatar

Stargazers

Neil Bradley avatar Paulo Elias avatar Jamal Mohammed avatar Ronny-André Bendiksen avatar Hemp avatar

Watchers

Mindy Wagner avatar Doug Avery avatar Jeremy Fields avatar  avatar Nate Hunzaker avatar Dylan Lederle-Ensign avatar James Cloos avatar Amanda Ruehlen  avatar Tommy Marshall avatar Max Myers avatar Owen Shifflett avatar Samara Strauss avatar Melissa Piper avatar  avatar Jason Toth avatar Andrew Thomas avatar Ally Fouts avatar Justin Vandenberg avatar Aakash Tandel  avatar Eric Fuhrmann avatar Nevin Morgan avatar Benjamin Modayil avatar Daniel Brown avatar Sarah Schraer avatar Diamond Alexander avatar  avatar Andrew Lester avatar Peyton Chance avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.