Skip Navigation

[Resolved] Date picker not working

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

This topic contains 22 replies, has 2 voices.

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

Assisted by: Minesh.

Author
Posts
#1928905

Tell us what you are trying to do?
Insert a datepicker field in a cred form

What is the link to your site?
hidden link

A login will be required, please enable private reply fields and I will send credentials.

Once a requisition is in Status: Approved – Ordering, it shows a row for each item with expected arrival date, which is a date field. However when I click the field, the calendar does not pop up, nor can I type in the field. I don't see any JS errors in the console that look like they are related to the datepicker. Please advise.

#1929561

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is really strange.

Can you please pass me problem URL where I can see the issue with admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1931023

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked with the following post: hidden link

I do not see any form on it. Can you please make the form visible so that I can see the issue.

#1931403

The view filter for 'Omni Items by Type' was changed. It is corrected now and the form is visible, but the datepicker is still not working.

#1931449

Different issue, but on the same form, the items to orders field doesn't want to pick up the default value of the current post in the loop. Maybe after we address the date field, you can help me with that as well?

#1931825

I just noticed that the datepicker field has the attribute readonly="readonly" applied. I have tried explicitly declaring readonly="false" in the field shortcode, but it still renders as readonly... not sure why that would be... I have not read anywhere that says I can't use a form inside a view...

#1933467

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I didnt get time to return to this today. But I will try to run a test by adding a Toolset form having the date custom field within the view and get back to your with my findings as soon as possible.

#1933485

I tried adding the form to a blank page and the darpicker works there...

#1934127

Hello?

#1934631

I've enabled debug and error logging and don't see anything strange in there. The error log only shows one error on a different field. What am I missing?

#1934903

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange.

I just checked with my test site where I created a post form having the date field "sr-date" and then added this form within the view's loop and I can see the date field is populated as expected. You can see it working here:
=> hidden link

In order to minimize the cause of the issue and to ensure that there is no third-party plugin or theme conflict:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any differeence?

If no:
At this stage, I'll require duplicator copy of your site for further troubleshooting:
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#1935155

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'll require duplicator copy of your site for further troubleshooting:
=> https://toolset.com/faq/provide-supporters-copy-site/

Can you please send me duplicator copy of your site.

#1935197

There is a duplicator package ready in the dashboard of the site.

#1935237

I also have a google drive link to the duplicator package if you would prefer that.

#1935743

Any ideas? Anything? Hello?