Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8096367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:25:58+00:00 2026-06-05T21:25:58+00:00

Using Google AppScript. How could I find the checked RadioButton in a group? If

  • 0

Using Google AppScript. How could I find the checked RadioButton in a group? If it requires handler then with server one.

Many Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:26:00+00:00Added an answer on June 5, 2026 at 9:26 pm

    there is an open issue on this but there is also a nice workaround 😉 (found by Romain Vialard, GAS TC)

    here is a slightly modified version of his script adapted to run on a spreadsheet :

    function radiotest() {
      var app = UiApp.createApplication();
      var panel = app.createVerticalPanel();
      var radioValue = app.createTextBox();
         radioValue.setId("radioValue").setName("radioValue");               
      // var radioValue = app.createHidden().setName("radioValue") ;// choose the one you like
      for(var i = 1; i < 10; i++){
        var name = 'choice '+i;
        var handler = app.createClientHandler().forTargets(radioValue).setText(name);
        panel.add(app.createRadioButton('radioButtonGroup',name).addValueChangeHandler(handler));
      }
      panel.add(radioValue);
      var Valide=app.createButton("Valide").setId("val");
      panel.add(Valide)                   
      app.add(panel);
    //               
      var handler = app.createServerHandler("valide"); // this is the server handler
      handler.addCallbackElement(radioValue)
      Valide.addClickHandler(handler);
    //
        SpreadsheetApp.getActiveSpreadsheet().show(app);// show app 
        }
        //
    function valide(e){ ;// This function is called when key "validate" is pressed 
      var sh = SpreadsheetApp.getActiveSheet();
      var RadioButton = e.parameter.radioValue;               
      sh.getRange('A1').setValue(RadioButton);
      var app = UiApp.getActiveApplication();
      return app;
    }​
    

    Note that the radioValue item can be either a textbox or a hidden text, both possibilities are in the script/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Google Places API requires an API key. I remembered I registered for one
Using google, yahoo and AOL smtp and PHPMailer how many mails can be sent
I'm using a Google form to collect simple (City, State) data from a group
Using Google Apps for your Domain, is it possible to set up a catch-all
Using Google + Bing didn't yield an answer to what should be a simple
Currently using Google Analytics as a supplement to our paid tracking software, but neither
When using Google app engine is there any benefit to use a CDN if
When using Google App Engine 1.6.4 testbed with Flask 0.8, and in particular the
I am using google site search which is an API I purchased where I
I am using google apps , and google is handling my email. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.