Have check boxes and radio buttons officially been implemented yet? The
built in manual mentions them, but provides no info. Groveling the code a
bit, I see that they exist after a fashion.Experimenting shows that they can
be used thus:

flow do
  para "label"
  check do
    # do stuff
  end
end

and

stack do
  flow do
    para "label1"
    radio do
      # do stuff
    end
  end
  flow do
    para "label2"
    radio do
      # do other stuff
    end
  end
end

These snippets will act like check boxes and radio buttons, but I haven't
found out how to a) programmatically read and set the state of these objects
except by creating messy toggle variables in the blocks or b) set up
independent radio button groups. Setting up a separate stack of radio
buttons doesn't do it, all the radio buttons on the page act as one group.
Does anyone know how to fully use these items? Have they been fully
implemented?

Reply via email to