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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard