Hi all,
i m using sugarcrm 5.1 and i m facing problem in the "Quicksearch" in the select boxes.
I have a contact name field with select option. i got this code from $sqs_object:
<script type='text/javascript' language='javascript'>if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;}sqs_objects['contact']={'method':'query','modules':['Contacts'],'group':'or','field_list':['first_name','id'],'populate_list':['contact','contact_id'],'required_list':['null'],'group':'or','conditions':[{'name':'first_name','op':'like_custom','end':'%', 'value':''}],'order':'first_name','limit':'30','no_match_text' :'No Match'};
sqs_objects['vendor_name'] ={'method':'query','modules':['Opportunities'],'group':'or','field_list':['name','id'],'populate_list':['vendor_name','vendor_id'],'required_list':['id'],'conditions':[{'name':'name','op':'like_custom','end':'%','value ':''}],'order':'name','limit':'30','no_match_text':'No Match'};
</script>
my problem is this only one of them(sqs_objects['vendor_name']) is working and i get only id field data when i post the form. No id field data are coming
so anyone tells me where m i wrong ????![]()


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks