Link | rp_timemenu |
Author | Randy Phillips |
Category | Date |
Version | 8.x |
License | Public Domain |
Posted | 07 Dec 2005 |
Updated | 16 Jan 2006 |
More by this author... |
This tag outputs hour, minutes and seconds pulldown menus in html forms.
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
\r\r'; if: #hourformat == 'military'; #output += '\r'; /if; loop: #hours; local: 'hour_value' = (loop_count); #hour_value->(setformat: -padding=2, -padchar='0'); if: (local_defined:'selecthour') && #selecthour == #hour_value; #output += '\r'; else; #output += '\r'; /if; /loop; #output += ''; //------ add minute menu to output #output += ':'; //------- add seconds menu to output if: (local_defined:'secondname'); #output += ':'; /if; //--------- add AM/PM to output if: (local_defined:'ampm_name') && #hourformat == 'standard'; #output += ' am pm \r'; /if; return:#output; /define_tag; ?>
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft