web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Click Datepicke...
Power Automate
Answered

How to Click Datepicker.( It is a situation where you cannot enter text directly)

(0) ShareShare
ReportReport
Posted on by 83

hi.

 

I need to click "datepicker" in PAD. I wish I could type directly into the text input, but In my case that's not allowed.

I need to select a date(=icon of number) in the Datepicker UI.

If you know how to do it, can you tell me?

 

↓DatePckerSample

https://jqueryui.com/datepicker/

 

dominono9_0-1654524790950.png

 

 

  • UK_Mike Profile Picture
    on at

    But you can type directly into the text box, use the correct format.

    06/06/2022 as 6/6/22 is not allowed.

  • dominono9 Profile Picture
    83 on at

    thank you for your answer.

     

    But the attached url is just an example of a datepicker, and the form I'm facing in business is actually on another website (I can't show it because it's not a public website). The website form are restricted from direct text input. So I have to press the calendar UI.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    See if it allows you to do this.

     

    - Right click on the datepicker -> click Inspect

    - This will show you the Id of the datepicker or its name

    - Then use the PAD action called "...javascript in webpage"

    and just write this one line in it - document.getElementById('IdofDTPicker').value = "DateHere"

     

    Below is just an example of doing the same via the browser console.

    VJR_1-1654569438330.png

     

     

  • dominono9 Profile Picture
    83 on at

    VJR

    Thanks!!!!

    I did what you tol me and it worked!!

  • UK_Mike Profile Picture
    on at

    Dohhhhhh !!! 😂

  • SmitaRobot Profile Picture
    22 on at

    Hi @VJR ,

    This Javascript is working to pick the date but once I click enter or move the mouse, the date has been disappearing.

  • VJR Profile Picture
    7,635 on at

    Hi @SmitaRobot , are you referring to the datepicker of the same url as in the original post? 

    If its different try to find out from the Inspect element as every datepicker has different behaviour. Will need to do some R&D (playing around with it).

  • SmitaRobot Profile Picture
    22 on at

    No, i have customized datepicker and and I'm using my own datepicker and its appearing as the correct date as well, but its not getting selected. do you know other way to select date?Datepicker1 (1).jpgDatepickerImage (1).jpg

  • SmitaRobot Profile Picture
    22 on at

    you can see 2nd image 14 is highlighted, if I click or enter its automatically selects a highlighted date. so my requirement is we have to highlight the date so we can click.

  • VJR Profile Picture
    7,635 on at

    Have you tried directly writing in the above textbox?

    Also as I mentioned in the above reply, right click and do an Inspect of the element. Sometimes the dates are written to a hidden text field. In that case you can write directly to that hidden textbox. Is this some public website that I can take a look at?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard