view tests/radio.ur @ 2237:e79ef5792c8b

Fix bug in redundancy checking and use finer formula for UPDATE statements.
author Ziv Scully <>
date Sun, 05 Jul 2015 23:57:28 -0700
parents a1a1d66aebac
line wrap: on
line source
fun handler x = return <xml><body>
  You entered: {[case x.A of
                     None => "nothing at all"
                   | Some v => v]}

fun main () = return <xml><body>
      <li><radioOption value="A"/>A</li>
      <li><radioOption value="B"/>B</li>
    <submit action={handler}/>