Skip Navigation

[Resolved] Datepicker not working inside loop view

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 21 replies, has 2 voices.

Last updated by jamesR-13 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#1943971

Yes, you have my permission to take a copy of the site.

I'll take a look at the issues you highlighted, but I will admit, those are my attempts to resolve the issue with the relationship field not populating as I expect it to. I will likely require more help with those issues as well.

Please let me know what else I can do to help.

Thank you.

#1945323

Thank you! I was able to take a copy of your website and work on it locally. Unfortunately, I could not find the issue yet.

Please ignore my last remark about the relationship field, that's the correct way to preselect the parent post, and I was able to do it on a clean install. You can see it on this page hidden link after login in with this one-click-login URL hidden link

I am approaching our 2nd Tier for assistance on this issue and I'll get back to you as soon as possible.

#1949141

Any luck with tier 2 support?

#1949487

Our 2nd Tier was able to partially fix this, but we could not find the real cause behind it, especially because your setup is too complex(conditionals, forms, etc). The issue is that the form tags are closed before generating the field, which makes the datepicker come outside of the form tag. Check this screenshot hidden link

The issue is somehow caused by using a table in the view loop. Somehow, the forms inside the view close before rendering all the fields. He was able to fix this on the website's copy by removing the table-related tags around the wpv-loop tags, which we think were added by the loop wizard.

As a workaround, we suggest not using a table in the view's loop and relaying on the Bootstrap grid system instead. Is this a viable workaround for you?

#1949881

Absolutely that will work! I am not married to the table tags there by any means. They were added by the wizard, and table is just my default selection by habit. I will give this a try asap.

#1951261

Thank you for this feedback, you just made my day 🙂

I'll set this ticket as waiting for your feedback. If you got it done, please mark it as resolved. Or get back to us and we'll do our best to help.

All the best,
Jamal

#1951693

That got it working! Thank you Jamal and tier 2! So, would this be considered a bug?

And I actually need a bit more help but with a different issue on this same project. I have a conditional that is not behaving as expected. Should I open a new ticket or can you help me here with that?

New threads created by Jamal and linked to this one are listed below:

https://toolset.com/forums/topic/conditional-not-behaving-as-expected/

#1951891

It's rather considered an exception. It may be a bug, but we need to reproduce it on a clean install. I mean, we need clear steps to reproduce it in order to consider it a bug and escalate it to the development team.

Our second Tier found the view too complex and tried without the table layout and it worked. The 2nd Tier is keen to work on it again if we narrowed it to a clear set of steps that triggers it. If you need to have a table layout we'll try again and see if we can reproduce it on a clean install. Your call 🙂

Regarding the conditional block, I have created a ticket for you and I would like you to add more details on it about this conditional and I'll give it a try. For support rules, we are able to handle only one issue at a time. This helps us to bring you a better service and also helps other users to find all the information they may need.

#1953821

This was a weird one that I am not sure I would have ever figured out on my own!

My issue is resolved now. Thank you!