I saw in gerneral wide template a new field (Rent time frame) appears once you pick "Rent" for the field (Property for).
i checked the backend and I couldn't figure out how I can implement this feature.
How can I make a conditional field ?!
I saw in gerneral wide template a new field (Rent time frame) appears once you pick "Rent" for the field (Property for).
i checked the backend and I couldn't figure out how I can implement this feature.
How can I make a conditional field ?!
i wrote my own script for this.
i want to learn this trick also but it look like hard code part and I'm not good at coding. This feature should be consider in new version as it will shorten the post new listing page. Since only the part that they want to field in is showed. Other will be hidden until clicked.
example Sale - Rent field (submitform)
replace keyesample1 with the key from the field you desire to hide or pop upCode:Only registered members can view the code.
This code i put in the end of the <template>/js/lib.js file but i think there is a way to put it from the adminpanel direct, i saw something but i didnt test it
for more specific solution write back what you need.
Example: when i click this ... that should happend..
if i can i will help you guys out
BTW this like solution to integrete in the script is to much work !
to many possible sitiuations.
you got radio text dropdown .... every fieldtype has its own handling. what i see so far ( i am not an expert, the forum staff should know better )
Last edited by Mustafa ilker Yonel; September 30, 2017 at 09:01 AM.