Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
120 checkbox
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rahul Kaushik  
View profile  
 More options Oct 10 2012, 11:44 am
From: Rahul Kaushik <rahulkaushi...@gmail.com>
Date: Wed, 10 Oct 2012 08:42:21 -0700
Local: Wed, Oct 10 2012 11:42 am
Subject: 120 checkbox

Hello,
I need to save the 120 check Box options,i don't want to use database
Should i pass back them as query String to the Server ??

Please Suggest

Thanks
RK


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Larry Meadors  
View profile  
 More options Oct 10 2012, 11:53 am
From: Larry Meadors <larry.mead...@gmail.com>
Date: Wed, 10 Oct 2012 09:51:36 -0600
Local: Wed, Oct 10 2012 11:51 am
Subject: Re: [android-developers] 120 checkbox
You'll likely need to use POST instead of GET with that many. What a
terrible UI that's got to be...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bob  
View profile  
 More options Oct 10 2012, 3:27 pm
From: bob <b...@coolfone.comze.com>
Date: Wed, 10 Oct 2012 12:27:12 -0700 (PDT)
Local: Wed, Oct 10 2012 3:27 pm
Subject: Re: 120 checkbox

It is probably ok to pass them as a query string, especially if you give
them short names.

Like C1 for checkbox 1.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Larry Meadors  
View profile  
 More options Oct 10 2012, 3:46 pm
From: Larry Meadors <larry.mead...@gmail.com>
Date: Wed, 10 Oct 2012 13:42:28 -0600
Local: Wed, Oct 10 2012 3:42 pm
Subject: Re: [android-developers] Re: 120 checkbox

On Wed, Oct 10, 2012 at 1:27 PM, bob <b...@coolfone.comze.com> wrote:
> Like C1 for checkbox 1.

Heh, so the server side code is terrifying, too? Dang. Twisted.

Larry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rahul Kaushik  
View profile  
 More options Oct 11 2012, 1:31 am
From: Rahul Kaushik <rahulkaushi...@gmail.com>
Date: Thu, 11 Oct 2012 10:59:01 +0530
Local: Thurs, Oct 11 2012 1:29 am
Subject: Re: [android-developers] Re: 120 checkbox

its an inspection app,So i have to have 120 check
box for complete inspection. UI  not terrible, because i
divided checkbox(s) in 6 different tab 20 check box each.

Main issue is how to pass these 120 options to the  server.

Any suggestion for betterment are  most welcome

Thanks
RK

On Thu, Oct 11, 2012 at 1:12 AM, Larry Meadors <larry.mead...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harish  
View profile  
 More options Oct 11 2012, 5:21 am
From: Harish <hkacho...@gmail.com>
Date: Thu, 11 Oct 2012 02:21:24 -0700 (PDT)
Local: Thurs, Oct 11 2012 5:21 am
Subject: Re: 120 checkbox

give a unique id to each checkbox (let's say 1 to 120), id and label should
be in sync with your server.

now send only selected checkbox id to server using a query string seperated
by comma, I mean (selected = '1,2,3,119'
parse this string to server and process it


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bob  
View profile  
 More options Oct 11 2012, 5:17 pm
From: bob <b...@coolfone.comze.com>
Date: Thu, 11 Oct 2012 14:17:27 -0700 (PDT)
Local: Thurs, Oct 11 2012 5:17 pm
Subject: Re: [android-developers] Re: 120 checkbox

Well, you have 120 bits of information, which is 15 bytes.

Maybe encode in base64 for a 33% increase in size?

15 * 1.33 = 20 bytes


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »