I have 2 fields with “text autocomplete” (field in database is integer) without “use select2” which and I want to fill with the result of an ajax onclick.
{field1} = 715 and {field2) = 0
or depending of your choice (radio button) the other way around.
{field1} = 0 and {field2} = 715
However this does not work. It does not pass the values.
How to solve?
Regards, Bert