Buy Now
Sign in

autocompleter parameters

peppelaria , October 02 2018, 09:26
peppelaria 156
October 02 2018, 09:26 #380578
Hi all, is there a way to pass more than one parameter when I make ajax call typing in a dropdown/autocompleter fiels?
With autocompleter the call is: /index.php?option=com_chronoforms6&cont=manager&chronoform=myform&event=cities_loader&tvout=view&city=someText...
What I need is: /index.php?option=com_chronoforms6&cont=manager&chronoform=myform&event=cities_loader&tvout=view&province=someProvince&city=someText...
adding the "province" parameter taken from another form field in order to add another contition to read_data action.
Thank you for your help
healyhatman 6
October 02 2018, 11:28 #380581
Not that I'm aware of but I'm happy to be proven wrong.
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
GreyHead 64
October 03 2018, 14:16 #380601
Hi peppelaria,
I think that to do this you'd have to build custom autocompleter code to be able to get and send both values.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
peppelaria 156
October 03 2018, 15:14 #380610
Hi Bob, this time I managed turning autocompleters into dynamic dropdown. It is not so cool as autocompleater, but it works.
Thank you