You can use Formlet.Choose for this:

1
2
3
4
5
let choiceFormlet =
    Formlet.Choose [
        Controls.Button "Button 1"
        Controls.Button "Button 2"
    ]
By on 3/18/2012 3:00 AM ()

Thanks. I misread the docs for Choose. It says it returns the "last triggered value." I was expecting "first triggered value." I get it though--makes sense.

By on 3/19/2012 7:57 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper