Skip Navigation

[Resolved] date picker disappeared

This thread is resolved. Here is a description of the problem and solution.

Problem:

If you have a Date field in an Edit Post Form that is linked to from a legacy cred_link_form then the date Field appears as simple text input and doesn't trigger a date picker.

Solution:

It is fixed in Toolset form plugin version 2.1.1.2, you can download it here:
https://toolset.com/account/downloads/

Relevant Documentation:

This support ticket is created 6 years, 2 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.

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: Asia/Hong_Kong (GMT+08:00)

This topic contains 14 replies, has 4 voices.

Last updated by eliseD-2 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1111814

The datepicker on my already created (and working) CRED forms has suddenly disappeared.

(there are a couple of other issues: not all custom fields showing up properly in emailed notifications; notifications triggering incorrectly - but one thing at a time)

Thanks!

Elise

#1112142

Hello,

The problem you mentioned above is abnormal, please try these:

1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

2) Also check if there is any JS error or PHP error when display the Toolset form.

3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1112357

I have tried everything you suggested, and the problem persists.

My website is so large that I have been unable in the past to do a dump.

I would be willing to grant you access to my working site for your tests.

Elise

#1112475

OK, I have enabled the private detail box, please provide your website credentials, also point out the problem page URL and form URL, I need a live website to test and debug.

#1112685
data-picker.JPG

Thanks for the details, I have tried your website setting files in my localhost, there isn't similar problem, see screenshot: data-picker.JPG, so it should be a compatibility/server problem, if you need assistance to locate the problem, please backup your website first, I need your permission to deactivate plugins/theme in your website

#1114581

Yes - I have backed up my website and I give you permission to check for the error.

I checked it on two browsers (Chrome and Firefox) and I don't see the datepicker on either one.

On a different site I use, I noticed that if I am in an ADD CONTENT for, I do see the datepicker - but if I am in an EDIT CONTENT form, I do not.

#1114958

Thanks for the details, you are right, the problem occurs in the editing post form, the workflow of displaying edit post form link has been changed, to fix it, you can try this:
1) Create a content template to display the editing post form
hidden link
with code:
[cred_form form='assignmentresult-edit-form']

2) Edit the view "Evaluator Assignment Results Page View":
hidden link
Use shortcode [toolset-edit-post-link] to replace shortcode [cred_link_form], for example:
[toolset-edit-post-link content_template_slug="assignmentresult-edit-form"]Review %%POST_TITLE%%[/toolset-edit-post-link]

See the result here:
hidden link

More help:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

#1115428

Thank you - that worked! But on my other (much bigger site) - does that mean I would have to create such a template and new link for every single edit form that uses a date picker?

#1115530

Yes, you are right, it might be a backward-compatibility problem, I have escalated it, will update here if there is anything news, currently, I suggest you try to use shortcode [toolset-edit-post-link] instead of shortcode [cred_link_form].

#1115612

Our 2nd tier supporters want to know this:
Do you know when this problem happens?
which version of Toolset form plugin conduct this problem?

#1115900

Sure. It is happening on two of my sites - hidden link and hidden link

It happens when I use a View to call an Edit Form that has a date field in it.

Both sites are using Toolset Forms 2.1.1.1 (all of my plugins are up to date) but neither site has been "migrated" to the new Toolset yet.

Let me know if you need any more info.

#1116025

Thanks for the info, I will update here if there is anything news.

#1117057

I've also got this problem, which has affected code that was working previously.

I've noticed that it affects generic date fields as well as database date fields. Creating a new record works OK, but editing a record where there is already a date (or a generic field with a default date) fails.

In both cases, a text box with the date is displayed, but it resists all attempts to change it. The CLEAR button works but it still isn't possible to add a new date.

#1121336

Minesh
Supporter

Languages: English (English )

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

Update: We published Toolset Forms version 2.1.1.2 that should fix this issue. Could you please update plugin and confirm your issue is resolved.

#1121752

My issue is resolved now. Thank you!