close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Datepicker on Update page isn't highlighting the predefined date.

Thread began 6/16/2014 3:25 pm by troyd | Last modified 6/23/2014 1:46 pm by Jason Byrnes | 737 views | 6 replies |

troyd

Datepicker on Update page isn't highlighting the predefined date.

In all my older uses of datepicker inserted with DA, the flyout calendar will preselect the date in the database. I am referring to an update form here.
But newer use of the datepicker isn't working for some reason.

I manually added the value to the form field as always. And the textfield populates just fine with the date in the db. But the flyout calendar only selects Today's Date. Did something change or am I overlooking the obvious? I'm not sure this is a standard behavior in the datepicker so maybe I did something custom before to make it work and I'm just not finding it. Any thoughts on what I should try?

Thanks,
TroyD

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

troyd

Jason, I just saw this, sorry.
Most of the online versions are older DA applications and they all work as expected. I have one live admin section that doesn't but it's not one I can give access to, as per my client.

Let me setup something simple on a live domain and I will PM you the details.

Thanks,
TroyD

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, let me know when that is ready

Sign in to reply to this post

troyd

Jason,

Well...I setup an online sandbox using a subdomain so that nothing else was included but the minimal files, and it works just fine. Go figure.
The date in the database is highlighted in the update form's datepicker just as it should be.

So now, I know it has to be a conflict with something in my newer applications. Maybe some of my custom JQuery or CSS. Not sure yet but I will let you know once I figure it out.
The funny thing is I stripped out all my CSS and JQuery to test for this before posting this issue but I must have overlooked something. I am going to add to this clean setup, little by little until it breaks the datepicker. Once I find the culprit, I will go back to my other applications and see if that fixes the problem.

Also please see private message.

Thanks,
TroyD

Sign in to reply to this post

troyd

[Solved]

I believe I figured this out. I had included a customized version of the JQuery UI on Themroller. jquery-ui-1.10.3.custom. (or jquery-ui-1.10.4.custom).

This wouldn't have normally been a problem but it looks like there is a small error in the JQuery style sheet where it references an image. The background image used to highlight the active date.
They named the image I was using, ui-bg_flat_50_657A99_40x100.png but the style sheet references ui-bg_flat_50_657a99_40x100.png. The small "a" in the name of the image url should be a capital "A". So that causes the effect to break visually.

So this wasn't an issue with the WA files at all. But I wanted to post my finding here in case someone else comes across this problem, although this might be somewhat localized.

(Jason. If you haven't read my previous PM, please take a look at it for me.)

Thanks
TroyD

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...