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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:43:00+00:00 2026-06-04T11:43:00+00:00

I have a form using GET method. This form might have large amount of

  • 0

I have a form using GET method. This form might have large amount of fields to update. so sometimes the URL gets too long. so I thought I can add more buttons to update each group of fields seperatedly.

The problem, even if I add a new button, it sends all FORMs parameters. How can I send only some of the parameters?


Edit: I cannot replace the GET to POST because this page is called not just from itself but also from other pages, so two of the parameters must be used as GET. I tried

if(isset($_GET['param_id1'])) {
           $param_id1 = $_GET['param_id1'];
       } else if(isset($_POST['param_id1'])){
           $param_id1 = $_POST['param_id1'];
       }

and within the form –

printf ("<form method='post' action='update_order.php'>"); // Use POST instead of GET
printf ("  <input type='hidden' name='param_id1' value='$param_id1'>");

but it also did not work.

Edit 2: It did not work because I forgot to also change the URL –

<form method='post' action='update_order_test_post.php'> 

My Form: [I Use PHP]

<form method='get' action='update_me.php'> 
 . . . 
<input type='submit' name='Submit' value='Update All'>   <!-- Original button -->
 . . . 
<input type='submit' name='Submit' value='Update One Line'> <!-- New button -->

Original URL: Seperated with newLines for clearence

http://mySite.com/update_order.php?
&infoA=aaa
&infoB=bbb
&infoC=ccc
&Submit=Update
&param1[1]=11
&param2[1]=21
&param3[1]=31
&param4[1]=41
. . . 
&param1[2]=211
&param2[2]=221
&param3[2]=231
&param4[2]=241
. . . 
&param1[3]=3311
&param2[3]=3321
&param3[3]=3331
&param4[3]=3341
. . . 
&param1[4]=411
&param2[4]=421
&param3[4]=431
&param4[4]=441
. . . 
. . . 

I want to send only the following fields to the new URL, e.g. if the button in line 3 was clicked:

http://mySite.com/update_order.php?
&infoA=aaa
&infoB=bbb
&infoC=ccc
&Submit=UpdateOneLine
&param1[3]=3311
&param2[3]=3321
&param3[3]=3331
&param4[3]=3341
. . . 

Thanks,
Atara.

  • 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-04T11:43:02+00:00Added an answer on June 4, 2026 at 11:43 am

    Use POST, that’s what its for.

    If you use POST then you don’t need to worry about reducing the number of items submitted. It may seem like it is a large number of items, but in terms of data you’re probably only dealing with a maximum of 10K of data being sent. The rest of your page is likely somewhere between 50 – 300K so its only a small part.

    Just Change the form method to POST and use the parameters you need in your php receiving page.

    UPDATE
    To answer your specific question though, if you make each row a seperate form then it will only submit that row when the user clicks the submit button

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

Sidebar

Related Questions

I have a form like this: <form id=form_main name=form_main action=/search/ target=iframe001 method=get onSubmit=reset_and_subm();> Enter
I have a label that is using a repeater to get information form a
I'm using django, and have a static webpage with a GET form, and about
In my ASP MVC 3 application, I have this form @using (Html.BeginForm()) { <input
I have form in my page, I am using ajax.beginform(). Inside this form I
I'm passing an array from form inputs (checkboxes) using the get method. When doing
I have written a form using the jQuery .post() function to post the data
I have a Django form using textareas and TinyMCE for text entry. I would
I would like to have Ajax form in Rails so i'm using form_remote_tag. The
I created a form using Swing in Java. In the form I have used

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.