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 / Copilot Studio / Validation of input - ...
Copilot Studio
Unanswered

Validation of input - Bot Framework composer

(0) ShareShare
ReportReport
Posted on by 325

Hi,

 

I am using Bot Framework to capture a date and time from an adaptive card.


This is the snippet from the adaptive card:

 

 {
            "type": "Input.Date",
            "id": "date",
            "label": "Input date"
        },
        {
            "type": "Input.Time",
            "id": "time",
            "label": "Input time"
        }
 
The adaptive card displays fine, but I am trying to only allow a date and time input that is in the past, the validation looks like this:
 
Monkeyman_0-1646657794894.png

 

But everytime I put in a date or time in the past, it is an invalid date and time and the Invalid Prompt text is sdisplayed to the user.

 

Any ideas?

Categories:
I have the same question (0)
  • Monkeyman Profile Picture
    325 on at

    I have figured out that I need to use this.value instead of user. but I still am only able to validate the date part and not the time.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 206 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 147

#3
Haque Profile Picture

Haque 119

Last 30 days Overall leaderboard