Extract month from date using client side script
Last Post 06-19-2012 01:51 PM by Chad Nash. 4 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
MichaelUser is Offline
skipping stones
skipping stones
Posts:6
Avatar

--
06-05-2012 08:22 AM
    DynamicRegistration v4.10.70
    DotNetNuke v6.00.02

    I'm trying to use client side event on a hidden field (BirthMonth) to automatically set its value based on the date entered in the date field BirthDay.

    Can anyone give me a tip on what that client side script would be?

    Thanks...
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-06-2012 04:14 PM
    Hi Michael - Is the date field a text box field or an actual "Date" field type". You might want to view how we handle dates using a jQuery Plugin at http://www.datasprings.com/formdemos (Demo 28). I am not sure if you are using the built-in date field type but you might try and implement it using a text box field and see if that is easier.


    Thanks,

    Chad
    MichaelUser is Offline
    skipping stones
    skipping stones
    Posts:6
    Avatar

    --
    06-07-2012 07:06 AM
    I'm using an actual date field type. The problem with text fields is all the extra effort in validating the dates. Is there not some simple month(BirthDay) type function?
    MichaelUser is Offline
    skipping stones
    skipping stones
    Posts:6
    Avatar

    --
    06-12-2012 01:26 PM
    Any additional help on this???
    I've got the date field set to use Date - combo box so I can clearly see the month field I just need to know how to access it.
    Please...
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    06-19-2012 01:51 PM
    Hi Michael,

    Unfortunately there is not a direct client side event / function that we have created which can handle this... You would need to write the JavaScript to place within the client side events area or modify the source code to allow this to happen. This is something we will review in the future if we receive enough requests though. If this is important enough we do have programmers who can write the JavaScript necessary via our Premium Integration Services. You can find out more and/or pick up hours at http://www.datasprings.com/hours .

    Thanks,

    Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi