Hey, sorry for the delay, That got me part of the way there. If I click the Select button I get a list of all users and I can choose one.
But, if I just start typing, the autocomplete only shows "No Mach" no matter what I type.
And then, because of the autocomplete doesn't work, I can't save if I typed in the persons name. (But I can if I click Select and then click their name.)
Any ideas here?
Thanks for your help so far!
here is the results of some further research:
Code:
the ajax post data by a working User field:
data={"\u006d\u0065\u0074\u0068\u006f\u0064":"\u0067\u0065\u0074\u005f\u0075\u0073\u0065\u0072\u005f\u0061\u0072\u0072\u0061\u0079","\u0066\u0069\u0065\u006c\u0064\u005f\u006c\u0069\u0073\u0074":["\u0075\u0073\u0065\u0072\u005f\u006e\u0061\u006d\u0065","\u0069\u0064"],"\u0070\u006f\u0070\u0075\u006c\u0061\u0074\u0065\u005f\u006c\u0069\u0073\u0074":["\u0061\u0073\u0073\u0069\u0067\u006e\u0065\u0064\u005f\u0075\u0073\u0065\u0072\u005f\u006e\u0061\u006d\u0065","\u0061\u0073\u0073\u0069\u0067\u006e\u0065\u0064\u005f\u0075\u0073\u0065\u0072\u005f\u0069\u0064"],"\u0072\u0065\u0071\u0075\u0069\u0072\u0065\u0064\u005f\u006c\u0069\u0073\u0074":["\u0061\u0073\u0073\u0069\u0067\u006e\u0065\u0064\u005f\u0075\u0073\u0065\u0072\u005f\u0069\u0064"],"\u0063\u006f\u006e\u0064\u0069\u0074\u0069\u006f\u006e\u0073":[{"\u006e\u0061\u006d\u0065":"\u0075\u0073\u0065\u0072\u005f\u006e\u0061\u006d\u0065","\u006f\u0070":"\u006c\u0069\u006b\u0065\u005f\u0063\u0075\u0073\u0074\u006f\u006d","\u0065\u006e\u0064":"\u0025","\u0076\u0061\u006c\u0075\u0065":"\u0022\u005c\u0075\u0030\u0030\u0036\u0035\u0022"}],"\u006c\u0069\u006d\u0069\u0074":"\u0033\u0030","\u006e\u006f\u005f\u006d\u0061\u0074\u0063\u0068\u005f\u0074\u0065\u0078\u0074":"\u004e\u006f\u0020\u004d\u0061\u0074\u0063\u0068"}&module=Home&action=quicksearchQuery&to_pdf=1
the ajax post data sent by a non-working Appointment Setter field:
data={"\u006d\u0065\u0074\u0068\u006f\u0064":"\u0071\u0075\u0065\u0072\u0079","\u006d\u006f\u0064\u0075\u006c\u0065\u0073":["\u0041\u0063\u0063\u006f\u0075\u006e\u0074\u0073"],"\u0067\u0072\u006f\u0075\u0070":"\u006f\u0072","\u0066\u0069\u0065\u006c\u0064\u005f\u006c\u0069\u0073\u0074":["\u006e\u0061\u006d\u0065","\u0069\u0064"],"\u0070\u006f\u0070\u0075\u006c\u0061\u0074\u0065\u005f\u006c\u0069\u0073\u0074":["\u0061\u0070\u0070\u006f\u0069\u006e\u0074\u006d\u0065\u006e\u0074\u005f\u0073\u0065\u0074\u0074\u0065\u0072\u005f\u0063","\u0061\u0063\u0063\u006f\u0075\u006e\u0074\u005f\u0069\u0064\u005f\u0063"],"\u0072\u0065\u0071\u0075\u0069\u0072\u0065\u0064\u005f\u006c\u0069\u0073\u0074":["\u0061\u0063\u0063\u006f\u0075\u006e\u0074\u005f\u0069\u0064\u005f\u0063"],"\u0063\u006f\u006e\u0064\u0069\u0074\u0069\u006f\u006e\u0073":[{"\u006e\u0061\u006d\u0065":"\u006e\u0061\u006d\u0065","\u006f\u0070":"\u006c\u0069\u006b\u0065\u005f\u0063\u0075\u0073\u0074\u006f\u006d","\u0065\u006e\u0064":"\u0025","\u0076\u0061\u006c\u0075\u0065":"\u0022\u005c\u0075\u0030\u0030\u0032\u0030\u005c\u0075\u0030\u0030\u0036\u0035\u0022"}],"\u006f\u0072\u0064\u0065\u0072":"\u006e\u0061\u006d\u0065","\u006c\u0069\u006d\u0069\u0074":"\u0033\u0030","\u006e\u006f\u005f\u006d\u0061\u0074\u0063\u0068\u005f\u0074\u0065\u0078\u0074":"\u004e\u006f\u0020\u004d\u0061\u0074\u0063\u0068"}&module=Home&action=quicksearchQuery&to_pdf=1
the data object for the working User field:
method = get_user_array
field_list = user_name,id
- 0 = user_name
- 1 = id
populate_list = assigned_user_name,assigned_user_id
- 0 = assigned_user_name
- 1 = assigned_user_id
required_list = assigned_user_id
- 0 = assigned_user_id
conditions = [object Object]
- 0 = [object Object]
- - name = user_name
- - op = like_custom
- - end = %
- - value = e
limit = 30
no_match_text = No Match
the data object for the non-working Appointment Setter field:
method = query
modules = Accounts
- 0 = Accounts
group = or
field_list = name,id
- 0 = name
- 1 = id
populate_list = appointment_setter_c,account_id_c
- 0 = appointment_setter_c
- 1 = account_id_c
required_list = account_id_c
- 0 = account_id_c
conditions = [object Object]
- 0 = [object Object]
- - name = name
- - op = like_custom
- - end = %
- - value = " e"
order = name
limit = 30
no_match_text = No Match I added quotes around the value=" e" in the broken one to show that there's a space in front of it.
Also, the good one has "user_name" in the field list and in the conditions while the broken one has "name" in the same places. Think that's the problem?
Bookmarks