locked
Need help putting Sharepoint Date Control calendar icon on inside instead of the outside RRS feed

  • Question

  • I have a Sharepoint Date Control that I'm trying to put the icon on the inside of the text box and it currently by default is on the outside. Is there a way to get the calendar icon on the inside of this control and if so how do I do that?

    Thanks

    Monday, October 17, 2016 8:28 PM

Answers

All replies

  • Hi

    it's about style. create your own css file and check this post

    http://stackoverflow.com/questions/14839771/how-to-put-an-icon-inside-textbox-in-jquery-mobile


    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.


    • Edited by romeo donca Monday, October 17, 2016 8:44 PM
    Monday, October 17, 2016 8:43 PM
  • Ok this is fine it helps get the icon inside but how you get it to function and bring up a calendar. There is no javascript on that link you provided. It might look fine but how you get it to function properly so a calendar pops up once you click on the text box?
    • Edited by mldardy Monday, October 17, 2016 9:18 PM
    Monday, October 17, 2016 9:15 PM
  • Hi,

    We can apply the custom CSS style to achieve your needs via Content Editor Web Part.

    Then, we should add 'onclick' event to the icon that can pop up your SharePoint Date control once you click it.

    Here is an article for how to use SharePoint's DatePicker Control:

    http://blog.bonzai-intranet.com/analysthq/2014/07/using-sharepoints-datepicker-control/

    Best Regards,

    Andy Wu


    Please remember to mark the replies as answer if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Tuesday, October 18, 2016 8:08 AM