Skip to main content


Copilot Studio - General

Validation of input - Bot Framework composer

Posted on by 212



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:


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?

  • Monkeyman Profile Picture
    Monkeyman 212 on at
    Re: Validation of input - Bot Framework composer

    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.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,995

Expiscornovus Profile Picture

Expiscornovus 1,708