Link | selection_box |
Author | Marc Pope |
Category | Custom Tag |
Version | 8.x |
License | Public Domain |
Posted | 04 Jul 2006 |
Updated | 04 Jul 2006 |
More by this author... |
Do you often find yourself making <select> objects over and over but then want to populate the "selected" part of the option statement automatically? Well, this tag is for you. I wrote this because I'm tried of hand-coding it all the time. I guess a more complex version could be made that would add the ability to have different values with the display value, but this works for most cases.
Usage: -name is the name of the select statement -values is the values list of the options -current is the current value [selection_box: -name='subscribe', -values='Yes|No', -current='Yes']
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.
(split:'|'); local: 'result'=(string); #result += '\r\n\r\n'; return: @#result; /define_tag; ?>
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft