Demos

A constantly growing list of demos and code examples created using Lasso, FileMaker, MySQL, Ajax and jQuery.

Lasso + Ajax / jQuery
Ajax Form Within Form (Ajax Nested Form)
For when you want add records to a database where (for groups of records) most of the information remains the same and only a couple of fields may change, or you want to add, edit and delete records in a list without reloading the whole page.
view
LassoFusebox + Ajax / jQuery
Ajax Auto Complete (Dynamic Select List), jQuery DatePicker and Conditional Field Display, jQuery Country/State Select Lists, Ajax Nested Form
Miscellaneous examples combining LassoFusebox with Ajax/jQuery.
view
LassoFusebox
LassoFusebox Core Files
last update 01-27-10
Latest version of the LassoFusebox core files. Now runs in browser immediately, without any modifications. These files were originally updated 09-20-08 to better protect against cross-site scripting and cross-site request forgery attacks (by adding encode_html to user supplied input before its used inside any page + encode_sql to action_params being auto-converted to string variables). On 1-27-10 I removed the encode_sql from section 4 of fbx_LassoFusebox3.inc (auto-converting action_params to variables) because a) it was causing double-encoding (saving "can't" stored and displayed "can\'t") and b) it was unneeded because raw, un-html encoded action_params are never used, instead action_params are set to variables before being used or displayed and only action_params inside MySQL SQL statments are encoded_sql. All examples are based on these files. Find out more about LassoFusebox at LassoFusebox.org.
download
LassoFusebox Examples from the 2008 Lasso Developer Conference
last update 09-21-08
Revised, updated version of the LassoFusebox examples presented at the conference and included in the conference download - these examples better protect against cross-site scripting and cross-site request forgery attacks.
download
LassoFusebox Nested Applications (LFBNestedApps) with tags for client side optimization
last update 09-21-08
A version of the "LFBNestedApps" example presented at the 2008 Lasso Developer Conference which uses Jason Huck's asset management tags for client side optimization to specify circuit-specific cascading style sheets and/or javascripts (instead of the old method of doing this, by using conditional statements in your site template).
download
Mail Form
last update 06-13-08
A simple contact form. This demo sends email to the email address entered in the form, but it can be easily reversed and used as a "contact us" form. The code supports the creation of LassoApps. (The "View" link will take you to the LassoFusebox.org site, where this app currently resides.)
view

download
ContactApp
last update 06-13-08
This sample contact manager uses the built-in LP6 "Contact" database. It demonstrates basic add, update and delete forms within Fusebox. The code has been updated to support making a LassoApp. (The "View" link will take you to the LassoFusebox.org site, where this app currently resides.)
view

download
SimpsonFamily
last update 06-13-08
I redid (again) the LassoFusebox.org Simpsons - Nested Layout example (written by Rich Tretola) using the latest version of the LassoFusebox core file. This example shows both an unframed and a framed version and how to use the "stopLayout" variable to to turn off nested layouts for a particular circuit.
view

download
Portal_Frames
last update 06-13-08
A demonstration of recursive calls to populate sections of the layout and an alternative frames-based layout of the same content. Inspired by Bjork's Portal example.
view

download
Portal Frames Version 2.0
last update 06-13-08
A demonstration of how to populate sections of a layout without using recursive calls and an alternative frames-based version of the same content. Inspired by Bjork's Portal example.
view

download
asktamiStoreDemo
Uses inlines and inspired by Blueworld's original "Classic Lasso Syntax Shopping Cart Example".
view
Lasso versions 6 through 8.5
asktami_UploadDemo
Demonstrates how to upload a file in conjunction with modifying a field value, upload a file and rename it, and upload a tab separated text file and import data from it into a MySQL table.
download
Lasso Excel (and Tab Separated Text and HTML) Export Examples view

download
Blueworld's original "Classic Lasso Syntax Shopping Cart Example"
Updated to work with Lasso 6 thru 8.5 and FileMaker 5-10.
Includes FileMaker 5/6 and 7/8/9/10 databases.
download
asktami_CustomTags
Custom tags for currency formatting, capitalization of only the first letter of the first word in a text string, capitalization of the first letter of every word in a text string, displaying nicely formatted action_params and displaying nicely formatted variables (excluding those used internally by Lasso).
view

download
Lasso 3.6.6
Blueworld's original "Classic Lasso Syntax Shopping Cart Example"
Updated to Lasso 3.6.6
download
FileMaker
Relational Operators
Methods for implementing 8 relational operators in FileMaker Pro: Divide, Restrict, Project, EquiJoin, Cartesian Product, Union, Intersect, and Subtract.
download
Duplicate Related Items - FileMaker 6.x
Shows you how to duplicate an Invoice and its related Invoice Items.
download
Calculate Dates - FileMaker 4.x
Calculations for the last day of the next month, the date 2 months from now, and the first, second, third, etc. Monday, Tuesday, Wednesday, etc. of any month once the user provides a starting date. Uses the mod function.
download
Conditional Value Lists - FileMaker 4.x
These 2 files allow you to select a value in one value list, then have another value list display different information depending on the value selected.
download
Conditional Value Lists - FileMaker 5.x
Uses the new value list based on a relationship feature. These 2 files allow you to select a value in one value list, then have another value list display different information depending on the value selected.
download
Conditional Value Lists in a Portal - FileMaker 4.x
Another tip that shows how to create conditional popup menus but this time the magic happens from within a portal.
download
Conditional Value Lists in a Portal - FileMaker 5.x
Uses the new value list based on a relationship feature. Another tip that shows how to create conditional popup menus but this time the magic happens from within a portal.
download