188 Posts
uriel
11 years ago
4
Topic

I have 2 groupx
That have important data to be fetched!
How to do this quest with a fields that are within GROUPx?

Example: 
field 1 field 2 field3
Field groupx
Field 1, Field 2
register

search:
Field 1 Field 2 field3
How do I search field groupx?
the two important fields that need?
 Search




Get a Book for SEBLOD
54 Posts
nzimas
11 years ago
2
Level 1

Have you found any solution to this?

In a scenario where a custom storage location is defined, I have the impression that values sent from fields inside GroupX are concatenated in the table column assigned to GroupX, while the search query looks for values in columns assigned to each field within GroupX, which remain empty.

You should have less trouble by using a standard storage location, although you still need to add all the individual fields inside GroupX to the search form.

188 Posts
uriel
11 years ago
1
Level 2

Hello 

I'm trying to use the solution

But I'm in trouble

need to do searches of these two fields
within GROUPx
I created a text field
Jquery with where I copy all the text field inside the text field
The Jquery works
but the data is not saved in the database!
What am I doing wrong, it's been two weeks that I am on it!
I'm doing this in the form of user registration
https://docs.google.com/file/d/0B3v09YcuAz33eFFpcnFUSmp2Qlk/edit?usp=drivesdk
https://docs.google.com/file/d/0B3v09YcuAz33dUNrTWQzYmhvVGc/edit?usp=drivesdk
But not saved in the database!
My Jquery script (override site Form)
<script type="text/javascript">
jQuery(document).ready(function(){ 
(function( jQuery ){
      jQuery.fn.valList = function(){
            return jQuery.map( this, function (elem) {
                  return elem.value || "";
            }).join( "," );
      };
})( jQuery );
//submit button when clicked executes the function
jQuery('#button_submit').click(function(){
      // alld1 copies all input text groupx
      // Id > cck1r_grupox my groupx 
    var alld1 = jQuery('input:text', jQuery('#cck1r_grupox')).valList(); 
    //Write in the text field all text fields groupx
 jQuery("input[name=text]").val(alld1);
});
});
 </script>

54 Posts
nzimas
11 years ago
0
Level 3

How is the storage location in those fields set up?

188 Posts
uriel
11 years ago
0
Level 1

JS picks all the words within the fieldx GROUPx
and puts in a field with common rescue!
then just search!
field

Hugs

Get a Book for SEBLOD