Jump to content

bhanu507

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Everything posted by bhanu507

  1. Hi, I had a form which contains, 8 select boxes. In those 8 select boxes, 3 of the boxes are interlinked, like, I am able to generate data in other 2 select boxes, if one box is been selected. i.e. based upon selection of one select box, and i am able to generate data in other select box. So, 3 select boxes are interlinked. And remaining 5 selects are optional, if the user selects, then we need to generate data based upon selection of the user. Here the main issue is how to grab data in the post back form, like, how to capture the number of selects boxes selected and what are those selected, and based upon that we need to generate data. Here one more important thing is that, in the report generation form(postback form), I need to show the data in a table. So , in table I had 9 columns and these would be common to whatever the selection made, but, only the requeired data would be changed based upon the selection of the remaining 5 optional boxes. Hope you got me!!!!
  2. hey , thanks for suggesting, now you got me, can i have a code kind of thing of your explanation, so that i would try to understand and rather it would be easy to work on it...plz can you plz write a code, with 6or 7 fields,
  3. hey, i want to make a note with you, only 3 out of 8 fields are dependent on each other, and the user may select one field mandatorily from those 3 fields, and he may or may not select a field from remaning 5 fields. if he selects, both selections , we need to generate the data, otherwise, generate another data......
  4. hmmmmm... again we came to start, i think u didn't got my point, as i said in the previous one like, I am able to generate or populate data in the select boxes, like as you have shown me, but i want to generate data, based upon the user selection. like, if he select only 3 select options, and then I need to generate data based upon the user selected fields, here my main concern is abt generating data in another form, depending upon the user selection. see, if he select 2 boxes, then one type of report will be generated, and if he select 5 boxes at a time, then another type of report with different fields woud be generated. thats what i want, hope you got me, how to nullify 8! combinations,( max probability)
  5. Now you got me... its exactly what i am looking for, I am able to update the next box, but look into the website, where if we select only car type as some type , lets say"audi", then just click submit, then in another form, you will be generating data showing different audi cars ,, with different types and price list... the same kind of way, I want to generate data in another form , where using the selection of the user, i need to present data to the end user related to the user selection.
  6. hey, " dragon_sa" , sorry, as I don't know your name, I am using your id to address you... I will try to explain you with an example kind of thing...like for suppose in a form , I had some select dropdown boxes. lets say... 1) cars 2) Bykes 3) Trucks 4)Engine capacity and if the user selects cars, it will show up different cars from wide range of car manufacturing companies, and then the user will select the car, later when user submits the forms, it will be redirected to another form where, actually, it will show up the car price, engine capacity, mileage, type of car..etc..so, if the user selects cars and engine capacity at a same time, then it will return another table with different fields in it, hope you got me point In this way I want to generate data with different combinations like, cars and engine capacity, cars & bykes&enginecapacity, trucks and enginecapacity, and trucks and cars only,likewise, we can form 4! combination, and for this 4! combinations, we need to generate data with different fields and in my case, it was 8 fields....so think how the code would be and what would be the number of combinations \
  7. hey, but, actually, i want to know the user selection and based upon usser selection, i need to generate table with some number of fields, so the table may change upon user's different kind of selections. thats was the main issue actually.
  8. Thanks you "dragaon_sa", for your reply, from your reply, i am able to get the array of user selection, but how abt generating data using different combinations of the user selection.
  9. use loops friend. but can you help me out, how to use loops, because, if we use loops, then we need to write code to 8!combinations
  10. Hello, I had 8 select boxes(dropdowns) in a form. Its like a search kind of implementation in the website. I don't know what the user selects, he may choose different select boxes, any number of select boxes. So, based upon the user selection, I need to generate the data. The data fields to be generated would be almost same. So, How would I know what the user selection is and how many select boxes has been selected and how could I generate different data based upon selected boxes. I had to make a small note abt this, that the data generation fields may change for some of the user select combinations, but most of the result fields would be same. so, can you please help me out, how to do, how to make different combination data generations, because, i had 8 fields, i had to make 8! combinations, that would result in a big code.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.