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

  • Home
  • SEARCH
  • 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 8991727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:47:42+00:00 2026-06-15T22:47:42+00:00

For example; if a user clicks pop and rock boxes i want to send

  • 0

For example; if a user clicks pop and rock boxes i want to send the page to www.mysite.com/?view=listen&tag[]=pop&tag[]=rock
If i use form code below it works on Firefox and IE fine. But if user clicks with Google Chrome, page goes to http://www.mysite.com/www.mysite.com/?view=listen&tag[0]pop&tag[1]rock& equal signs in front of tag names disappear. How can i get worked on google Chrome too?

<form action="http://www.mysite.com/">
    <input type="hidden" name="view" value="listen" />
    <input type="checkbox" name="tag[]" value="pop" />pop<br /><br />
    <input type="checkbox" name="tag[]" value="rock" />rock<br /><br />
    <input type="checkbox" name="tag[]" value="indie" />indie<br /><br />
    <input type="checkbox" name="tag[]" value="electronic" />electronic<br />
    <button type="submit">submit</button>
</form>
  • 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-15T22:47:43+00:00Added an answer on June 15, 2026 at 10:47 pm

    I tried this. In google chrome, it does post the form to correct url with square brackets and equal sign:

    Here is your code:

    Form URL: http://jsbin.com/ihagon/1

    When I select pop and rock and press submit, it goes to this url:

    Target URL: http://jsbin.com/ihagon/1?view=listen&tag%5B%5D=pop&tag%5B%5D=rock

    Here’s the HTML code:

    <!DOCTYPE html>
    <html>
    <head>
    <meta charset=utf-8 />
    </head>
    <body>
      <form action="http://jsbin.com/ihagon/1">
        <input type="hidden" name="view" value="listen" />
        <input type="checkbox" name="tag[]" value="pop" />pop<br /><br />
        <input type="checkbox" name="tag[]" value="rock" />rock<br /><br />
        <input type="checkbox" name="tag[]" value="indie" />indie<br /><br />
        <input type="checkbox" name="tag[]" value="electronic" />electronic<br />
        <button type="submit">submit</button>
    </form>
    </body>
    </html>
    

    Let me know if I am missing something.

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

Sidebar

Related Questions

On my site, user profiles can be reached by the url www.example.com/user/profile.php?uid=3 I want
FactoryGirl.define do sequence :email do |n| user#{n}@example.com end factory :user do email {FactoryGirl.generate :email}
I'm currently showing the user a pop-up form - http://colorpowered.com/colorbox/ - which so far
Is it possible to block a page when a user clicks on a link
This is a nasty one. I have an external link. <a href=http://www.example.com target=_blank> now
for example, I have a textfield, that records the user name, after I click
Example user input: PA1 9 //correct PJ1 9 //wrong, error printed Invalid row because
This is a question best illustrated by example: User goes to Site A ,
I am adding auction-based data to my system. For example: user's timezone is :
I need to implement Online Help in my Java Web Project. For Example User

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.