Jump to content
Sign in to follow this  
Deadpullowo

How to prompt for Checkbox or radio button with options but single select..

Recommended Posts

You know like when you can select..

▪︎Male Female

 

But only one can be select..

```

gg.prompt (" {male, female}" ,nil , "checkbox" )

```

Share this post


Link to post
Share on other sites

Use gg.choice.

[added 1 minute later]

And for this example enough one checkbox: "male" if checked and "female" if not.

Share this post


Link to post
Share on other sites
2 hours ago, Enyby said:

Use gg.choice.

[added 1 minute later]

And for this example enough one checkbox: "male" if checked and "female" if not.

I read gg.choice..

 

But how to add multiple Ui elements in single window..

I need another number  input..

Thats why i use prompt

Share this post


Link to post
Share on other sites
On 9/1/2019 at 12:26 PM, Deadpullowo said:

I read gg.choice..

 

But how to add multiple Ui elements in single window..

I need another number  input..

Thats why i use prompt

data = gg.prompt({"Mail","Female","Input Number"},{false,false,0},{"checkbox", "checkbox", "number"})

Edited by AKRAMRAZA

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...