Hi,
Create a js widget that listens to text field variable (user_name) and include below script.
function list_ok(result) {
//alert("ok=" + JSON.stringify(result));
if(result.length ==0)
{
alert("name not found in collection");
}
}
function list_ko(result) {
alert("ko=" + JSON.stringify(result));
}
var my_pattern = {};
my_pattern.name = "[[user_name]]";
col_users_info.listCallback(my_pattern,{},list_ok,list_ko);
Regards,
Murali