NetTalk Central

Author Topic: No extra options on a datepicker on a wizard-form??  (Read 4823 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 430
    • View Profile
    • Email
No extra options on a datepicker on a wizard-form??
« on: January 20, 2011, 12:27:29 AM »
Hi

I have this wizard-tab-form with a date field. If I add some options to the datepicker then the form dont behave.
If i change the wizard to a "normal" tab it works fine.
Have i missed something?

Regards Niels Larsen

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: No extra options on a datepicker on a wizard-form??
« Reply #1 on: January 20, 2011, 01:37:12 PM »
Hi Niels,

Check out the     

Customising the Date Lookup widget
« on: December 08, 2009, 12:19:06 am »

in the Share Knowledge Section of this forum.

Cheers,
Rene
Rene Simons
NT14.14

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 430
    • View Profile
    • Email
Re: No extra options on a datepicker on a wizard-form??
« Reply #2 on: January 21, 2011, 01:35:08 AM »
Hi Rene

The problem is not the options. They are working fine. But if i change the type of my tab on my webform to a Wizard-type, the datepicker stops working.
Why it does not work and what I should do to solve the problem - I have no idea at all.

/Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: No extra options on a datepicker on a wizard-form??
« Reply #3 on: January 23, 2011, 09:31:17 PM »
If you run the page in FireFox, with FireBug (www.getfirebug.com) then do you see a JavaScript error?

cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 430
    • View Profile
    • Email
Re: No extra options on a datepicker on a wizard-form??
« Reply #4 on: January 30, 2011, 01:36:07 PM »
Hi Bruce

IE tells me that there is an error ( a missing } in position 101) in this line :
jQuery(function() {jQuery("#tab_privat_div").ntwiz({numberOfMonths: 3,showButtonPanel: trueactiveTab:0});});

This is the clarion code who generates some of the script : loc:options = Choose(loc:options='','',clip(loc:options) & ',') & 'numberOfMonths: 3,showButtonPanel: true'
 
Any clue??

/Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: No extra options on a datepicker on a wizard-form??
« Reply #5 on: January 30, 2011, 10:10:03 PM »
Hi Niels,

Which version of IE are you using?
Do you get the same error if you browse in FireFox with Firebug?

I have found a JavaScript error in 5.13 which only appears in IE7 - that's fixed in 5.14. That may or may not be related to your issue, hard to say. I'm not able to duplicate the problem here - can you maybe duplicate there in an example to send me?

Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: No extra options on a datepicker on a wizard-form??
« Reply #6 on: January 31, 2011, 01:09:54 AM »
Nevermind, I figured it out - fixed in 5.14

cheers
Bruce