Conditional Logic with Custom Taxonomies Not Working
Author | Posts |
---|---|
May 22, 2015 at 4:48 pm 44887 | |
Hi, I am configuring a website for a client who has the PRO version of this software. The site has a custom post type, which is in the form as a custom taxonomy drop down. I am trying to get a set of check boxes to show or hide, based on the selection, however, it doesn't work. No matter what I select from the custom post drop down, they always show, so no conditional logic is going on. Any ideas on how to fix this? I have tried putting a small piece of javascript on the same page as the form, however, the div's used have no IDs, so not so easy to identify changes etc. Any help would be appreciated. Thanks | |
May 23, 2015 at 5:53 pm 44976 | |
towhid | Hello Shaun, Can you please give me some screenshot. It will help me to diagnosis the actual case. Thanks |
May 24, 2015 at 1:22 am 45015 | |
shaun brereton | Hi, thank you for your reply, please find the image linked below. As it is set, the checkboxes are always showny, even when the dropdown that the condition is set on hasnt been selected. I also have some radio buttons based on the same logic, and do the same thing. [IMG]http://i59.tinypic.com/533es1.png[/IMG] |
May 24, 2015 at 12:47 pm 45038 | |
towhid | Hello Shaun, Please send me screenshot again. The screenshot you shared did not properly uploaded. Please use this link to upload a screenshot – http://postimg.org/ Thanks. |
May 25, 2015 at 5:05 am 45083 | |
shaun brereton | Hi, no problem, please find a link below. |
May 26, 2015 at 9:00 pm 45242 | |
shaun brereton | Hi, any news on fixing this issue? I have check the settings against your site, and as far as I can tell, everything is configured correctly. Please let me know what the solution is. Thanks Shaun |
May 27, 2015 at 11:21 am 45301 | |
towhid | Hello Shaun, Can you please check this setting in our demo page and let me know the result. After then I will try my best to help you find out the way to get out from this trouble. WP User Frontend Demo link is – http://demo.wedevs.com/wpuf/login-2/ Thanks |
May 27, 2015 at 3:53 pm 45336 | |
shaun brereton | Hi, I have tried it on your test site, and the same thing happens, so it is not working as it should be. I have put a screenshot below. I have tried setting the field required status to yes and no, still no difference. The field shows no matter what is selected from the category drop down. http://postimg.org/image/a128zpivl/ Please advise on a fix for this. Thanks Shaun |
May 27, 2015 at 5:56 pm 45358 | |
towhid | Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong. Thank you 🙂 |
May 27, 2015 at 8:12 pm 45376 | |
shaun brereton | Hi, thank you, I have just completed the form. Kind Regards Shaun. |
May 28, 2015 at 5:09 pm 45496 | |
towhid | Hello Shaun, I have able to login your site successfully. Please allow me some time. I will come back to you with a right solution. Thanks. |
May 29, 2015 at 2:22 pm 45590 | |
shaun brereton | Hi, Any luck with this yet? I can see that the issue is still there? We are just waiting for this issue with your plugin to be fixed for us to launch the site, so any progress updates would be appreciated. Kind Regards Shaun |
May 30, 2015 at 6:21 pm 45692 | |
towhid | Hello Shaun, I did not find out any solution yet. Can you please remove the javascript and see what happen. Can you please send me the Listbox Items code. I like to check in my trail server. Thanks |
May 30, 2015 at 6:46 pm 45697 | |
shaun brereton | Hi, The javascript has been removed. I was trying to hide the div based on the dropdown using Javascript, as it is taking too long to fix something that should just work. It still does not work with the javascript removed, and it is hard to hide with javascript anyway, as you don’t give the divs id’s. I do not want to put the code for the listbox items in a public forum, have you got an email I can send it to? How long do you think this will take? Thank you. Shaun |
May 31, 2015 at 7:02 pm 45757 | |
towhid | Hello Shaun, I am really sorry to say that I am still on difficulty to understand the actual problem. Are you not able to select any category based on conditional logic? Here are my form and its result. Backend Category: What Type of Item(Radio Field) Select Category Are They (Checkbox): Frontend Form: After Submit Post: Please help me to find out a way for you with instructions. Thanks |
May 31, 2015 at 7:10 pm 45758 | |
shaun brereton | Hi, I can see by your screenshots that problem exists on yours as well. I only want the “Are They…” to show when the person selects “Animals” from the categories listbox, but instead, it is always showing. For example, if someone selected “Mobile Phone” from the list box, I would want the Are They… section to be hidden, as it is not required for that category. Let me know if you want me to explain in further detail. Thanks Shaun |