PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Today's Date

  1. khalidwa
    Member

    Hi,

    I know this question has been answered however I'm a bit confused hence the new post.

    Here is the original answer: http://www.gravityhelp.com/forums/topic/how-to-highlight-current-date-or-future-date-in-jquery-datepicker

    I'm wondering if someone can provide the code to highlight today's date only.

    Also, where do I enter this code? I go to Edit the Form and there's no where to add code?

    Apologies I'm a newb to Gravity Forms!

    Thanks,

    Khalid.

    Posted 12 years ago on Friday August 24, 2012 | Permalink
  2. Can you post a link to your form online please? Thank you.

    JavaScript code will be added to the <head> section of your web page. That usually done by adding it to header.php. Read more here http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 12 years ago on Saturday August 25, 2012 | Permalink
  3. khalidwa
    Member

    Hi Chris,

    Thanks for your reply.

    The form is protected, it is for users only.

    The date picker is just the ordinary one selected from the right hand side, nothing special.

    Posted 12 years ago on Saturday August 25, 2012 | Permalink
  4. OK. Do you need help with what code to be added, or where to add the code?

    It's helpful to see it online so we can tell you exactly where to put the code, or see where it might be incorrect. If you can't share the link, we'll have to go back and forth until you get it working.

    Posted 12 years ago on Saturday August 25, 2012 | Permalink
  5. khalidwa
    Member

    Hi Chris,

    I need the code to be added and where to add it?

    If you have an e-mail address or way of private messaging you I can send you a login?

    Posted 12 years ago on Monday August 27, 2012 | Permalink
  6. Please email at chris@rocketgenius.com - thanks

    Posted 12 years ago on Monday August 27, 2012 | Permalink
  7. khalidwa
    Member

    Done

    Posted 12 years ago on Monday September 10, 2012 | Permalink
  8. Thanks, I have your email. I will take a look at it today.

    Posted 12 years ago on Monday September 10, 2012 | Permalink
  9. If you want to outline today's date in red in your datepicker calendar, add this to your theme's stylesheet (style.css normally):

    [css]
    td.ui-datepicker-today {border:1px solid #f00;}

    Screenshot: http://minus.com/lb0SQrMxGWWoqV

    If you need anything more complex than that, please let us know.

    Posted 12 years ago on Wednesday September 12, 2012 | Permalink
  10. khalidwa
    Member

    perfect done thanks!

    Posted 12 years ago on Friday September 14, 2012 | Permalink
  11. Thank you for the update.

    Posted 12 years ago on Friday September 14, 2012 | Permalink

This topic has been resolved and has been closed to new replies.