Auto complete functionality in array widget field

450 views
Skip to first unread message

ii2team...@gmail.com

unread,
Oct 30, 2014, 5:33:04 AM10/30/14
to suppor...@runmyprocess.com
I need to auto complete a number field inside an array widget. For that I have used the jQuery functionality given here http://docs.runmyprocess.com/Developer_Guide/Web_Interface/Design/Autocomplete_Widget#autocomplete_with_jquery

In the script instead of jQuery("#id_user_name").autocomplete(...), I have used jQuery("#id_table_name.id_col_name[P_index]").autocomplete(...). But the #id_table_name.id_col_name[P_index] doesn't seems to work. Is it possible to use this jQuery functionality for array widget? Desperately need HELP...
Is there any other way possible?

Thanks in advance.

ii2team...@gmail.com

unread,
Oct 30, 2014, 7:38:40 AM10/30/14
to suppor...@runmyprocess.com, ii2team...@gmail.com

Can anyone respond with a solution for this. Desperately waiting

Pankaj Kumar

unread,
Oct 30, 2014, 8:06:31 AM10/30/14
to suppor...@runmyprocess.com, ii2team...@gmail.com
Hi,

For Implementing the auto complete in the array widget you can use the "Packaged Autocomplete".

1. go to the column of the array widget where you want to implement the autocomplete functionality and click on the setting Icon.

Inline image 1

2.  On the configuration screen, select the checkbox of autocomplete and click on the setting icon

Inline image 2


3. Here you can configure the collection, collection property, where the search to be performed, and click on the "On Select", here you can write the code to populate the other column value of the array.

Inline image 3

4. A Sample code for populating the other column value:
    id_array1.id_item_name[P_index].setValue(P_selected.item_name); 
    id_array1.id_description[P_index].setValue(P_selected.description);
    id_array1.id_quantity[P_index].setValue(P_selected.no_of_unit);  

Please let me know if you face any issue.


Thanks,
Pankaj




--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/4ef7d151-891c-47d0-9dc6-3c27e886a4fc%40runmyprocess.com.

ii2team...@gmail.com

unread,
Oct 30, 2014, 8:31:34 AM10/30/14
to suppor...@runmyprocess.com, ii2team...@gmail.com
On Thursday, October 30, 2014 5:36:31 PM UTC+5:30, pkumar wrote:
> Hi,
>
>
> For Implementing the auto complete in the array widget you can use the "Packaged Autocomplete".
>
>
> 1. go to the column of the array widget where you want to implement the autocomplete functionality and click on the setting Icon.
>
>
>
>
>
>
> 2.  On the configuration screen, select the checkbox of autocomplete and click on the setting icon
>
>
>
>
>
>
>
>
> 3. Here you can configure the collection, collection property, where the search to be performed, and click on the "On Select", here you can write the code to populate the other column value of the array.
>
>
>
>
>
>
> 4. A Sample code for populating the other column value:
>
>     id_array1.id_item_name[P_index].setValue(P_selected.item_name); 
>     id_array1.id_description[P_index].setValue(P_selected.description);
>     id_array1.id_quantity[P_index].setValue(P_selected.no_of_unit);  
>
>
> Please let me know if you face any issue.
>
>
>
>
> Thanks,
> Pankaj
>
>
>
>
>
>
> On Thu, Oct 30, 2014 at 5:08 PM, <ii2team...@gmail.com> wrote:
> On Thursday, October 30, 2014 3:03:04 PM UTC+5:30, ii2team...@gmail.com wrote:
>
> > I need to auto complete a number field inside an array widget. For that I have used the jQuery functionality given here http://docs.runmyprocess.com/Developer_Guide/Web_Interface/Design/Autocomplete_Widget#autocomplete_with_jquery
>
> >
>
> > In the script instead of jQuery("#id_user_name").autocomplete(...), I have used jQuery("#id_table_name.id_col_name[P_index]").autocomplete(...). But the #id_table_name.id_col_name[P_index] doesn't seems to work. Is it possible to use this jQuery functionality for array widget? Desperately need HELP...
>
> > Is there any other way possible?
>
> >
>
> > Thanks in advance.
>
>
>
> Can anyone respond with a solution for this. Desperately waiting
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
>
> To post to this group, send email to suppor...@runmyprocess.com.
>
> Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
>
> To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/4ef7d151-891c-47d0-9dc6-3c27e886a4fc%40runmyprocess.com.
>
>
>
> For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

This did the magic. Heart felt thanks pkumar. But there is one doubt, it is only possible to go upto 2 in the min. characters field in the autocomplete configuration. Why can't we put 1 as min. charater
Reply all
Reply to author
Forward
0 new messages