Jump to content
  • 0

help with cheak boxes


lowwen

Question

1 answer to this question

Recommended Posts

--Prompt
a = gg.prompt({"Your Question"},{},{"checkbox"})

gg.alert(a[1]) -- If a is checked , then a = true else a = false

if(a[1])then 
  --Do whatever you want if the box is check
	else
  -- DO whatever you want if the box is uncheck
end

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.