Lasso Soft Inc. > Home

[rp_timemenu]

Linkrp_timemenu
AuthorRandy Phillips
CategoryDate
Version8.x
LicensePublic Domain
Posted07 Dec 2005
Updated16 Jan 2006
More by this author...

Description

This tag outputs hour, minutes and seconds pulldown menus in html forms.

Sample Usage

[rp_timemenu: -hourlabel='Start Hours', -minutelabel='Start Minutes', -secondlabel='Start Seconds', -hourname='shrs', -minutename='smins', -secondname='ssecs', -ampm_name='sampm', -hourformat='standard', -minute_interval=15, -selecthour=(action_param:'shrs'), -selectminute=(action_param:'smins'), -selectsecond=(action_param:'ssecs'), -selectampm=(action_param:'sampm'), -encodenone]

Source Code

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';
					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 

Related Tags

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft