Fill Select depending on another select in wordpress + CF7

0

I am using the Contact FOrm 7 plugin in wordpress. I would need to fill in a selection with the available crops, and depending on the chosen crop, I would fill in another select with the varieties of that crop.

With the plugin CF7 Conditional fields I can do it, but there are 53 crops, with 400 varieties in total ... and there would be many fields.

I know that it should be possible to be done by ajax, but I have no idea how this technology works, and I do not find examples that can help me. My idea is to obtain the varieties stored in BD by removing them with MySQL Select variedad from cultivos where cultivo = 'id_cultivo' or something similar.

Could someone help me out?

Thank you!

    
asked by orodruim 14.03.2018 в 11:36
source

0 answers