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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:09:08+00:00 2026-06-17T06:09:08+00:00

sorry if this question is basic but I’m a beginner :(. I’ve created an

  • 0

sorry if this question is basic but I’m a beginner :(.

I’ve created an array in my html template (via javascript) and user can enter multiple values for this input — how do I then access the array from server side (python Google App Engine?)

Here’s my code from html template
JS:

<script type="text/javascript">
    function addSchool() {
    var newContent = "<input type='text' name='institution[]'></input>";
           $("#providerList").append(newContent);};

HTML:

{% for s in list %}
    <div id="institution" name="institution[]">{{s}}</div>
{% endfor %}

<div id="onemore">
    <a href='javascript:addSchool()'>Add More Institutions as Providers</a>
</div>

Then my server side retrieving the array – python in Google App Engine: – (which is NOT WORKING) – only retrieves 1st one:

mylist = self.request.get("institution[]")

What am I do doing wrong syntax wise to retrieve the array???

  • 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-17T06:09:09+00:00Added an answer on June 17, 2026 at 6:09 am

    You have to create form elements which can be submitted, like an input, or select option tags.
    Or you have to create a json string and post the serialized json (javascript object) as a string.
    Or you create your own string by concatenating the list elements and use it as payload for your post.

    Example :

    <form action="/addschool" method="post"> 
        <input type="hidden" name ="more" value="school10,school11, school12" >
        <input class="button" type="submit" id="addschool" name="addschool" value="Add a school">
    </form>
    

    Now you can:

    mylist = self.request.get("more").split(',')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for such a basic question but I can't find this elsewhere How could
Sorry this is such a basic question, but I can't find a straight answer
Sorry if this is a basic question, but how can I take an ItemTemplate
Sorry if this is a really basic question but it's been really getting to
Sorry this is a basic question, but all my research just barely missed answering
Sorry if this question is very easy, but I can't find the answer anywhere.
Sorry if this is a really basic question, but why is there a minus
Sorry for asking a basic question like this but I've been reading on this
Maybe this is a very basic question but i am a beginner in python
I know this is a basic question, but I can't seem to find an

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.