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 8288767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:20:36+00:00 2026-06-08T12:20:36+00:00

I have a vertical panel and a button to add. The button allows me

  • 0

I have a vertical panel and a button to add. The button allows me to add text boxes to the vertical panel. The name and id of the text box is prefixed with a number (this number is incremented before each text box is added and is initialised with 0).

There is also a button to submit these text boxes. Obviously I add the vertical panel to the handler as a callback element in order to retrieve these added text boxes.

So my parameters of my event (for the submit button being clicked) look something like this:
1tbx=value, 2tbx=value, 3tbx=value, ..., ntbx=value (where n is a number).

I would like to know the what you guys think would be the least computationally complex way for retrieving the values of the added text boxes from the parameters of the event.

  • 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-08T12:20:38+00:00Added an answer on June 8, 2026 at 12:20 pm

    I guess “computationally complex” is not really the point here as all the values are already available locally, and any way you do it will be of the same “complexity”.

    It’s probably easier for you to retrieve these values in a for-loop, probably what you did to create them, e.g.

    function handler(e) {
      var n = 10; //the amount of text boxes you have
      var values = [];
      for( var i = 0; i < n; ++i )
        values[i] = e.parameter[(i+1)+'tbx'];
      //just an example
      SpreadsheetApp.openById('example-key').getSheetByName('Sheet1').appendRow(values);
    
      //if you're going to do something on your app (which you'll probably do)
      //then you need to return it, e.g. return app;
      //but since I'm not doing anything in this example, it's not required.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a panel and a button that adds text boxes to the panel
I have a vertical StackPanel with two elements: a Button and a ListBox. How
I have a simple vertical LinearLayout in which there is a button on the
I have a main canvas 'blackboard' in a panel, this canvas has itself several
I have a Vertiacal panel object and This object contains many radiobuttons So can
I have two ASPxDockPanels in the same ASPxDockZone (vertical). The first panel has an
Desired Outcome I want to have Vertical List with custom items on the left/right
I have a (vertical) UISlider inside a UIScrollview. I'd like to be able to
I have a vertical menu having an item Click here to get the scientific
I have a vertical NSSplitView containing on one of its sides a NSScrollView with

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.