caldate - create date list from calendar submission

SYNOPSIS

<caldate $varprefix>


DESCRIPTION
The caldate function returns a list of dates from the variables submitted by a form created with calendar. The value(s) of $varprefix are the variable prefix(es) given to calendar.


EXAMPLE
This script generates a calendar, and lists the date(s) checked off upon submission:

<A NAME=main>
  <FORM METHOD=post ACTION=$url/list.html>
    <calendar "now" "cal" "checkbox">
    <INPUT TYPE=submit>
  </FORM>
</A>

<A NAME=list>
  <caldate "cal">
  You submitted:
  <LOOP $ret> $ret <BR> </LOOP>
</A>


CAVEATS
The caldate function was added Oct. 4 1996.


SEE ALSO
calendar


Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.