I am trying to:
Create a vehicle listing site by customizing reference site.
I want the user to just select the make and model and the basic details of vehicle auto populate such as doors, seats, drive(2 or 4 wheel) etc.
Once basic details are populated, user could enter additional details such as engine number, color etc. to add listing.
Could you please let me know how could I auto populate the basic details?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hello,
Thank you for contacting our support forum.
Unfortunately this is not something that is possible with our plugins. You will need to create some Javascript in order to auto populate the items.
The javascript will need to get the value of the selected items and then auto select the value of another item based on what was selected.
Please let me know if this helps.
Thanks,
Shane
Hi Shane,
Is there any example of how to get data of toolset fields using javascript?
Thanks
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hello,
You will need to get the value from the actual screen and not the database.
To do this just use the code below.
var optionVal = new Array();
$('select option').each(function() {
optionVal.push($(this).val());
});
For more advanced assistance I would recommend that you contact one of our certified consultants as they are more equipped to do custom code for you.
You can contact them by going to the link below.
https://toolset.com/consultant/
Please let me know if this helps.
Thanks,
Shane