• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Checkbox

This is really simple. We just want to know if a checkbox has been checked or not.

form.spam_chk.label = "Please send me spam, I mean product updates.";
form.spam_chk.setSize(300);

form.validate_btn.onRelease = function()
{
    if (form.spam_chk.selected)
    {
          trace("spam spam spam spam spam !");
    }
}


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint