Skip to main content
1-Visitor
March 25, 2022
Solved

How to restrict selection of future date and time in date time picker Thingworx

  • March 25, 2022
  • 2 replies
  • 1341 views

I am using a date time picker in the mashup, i want to restrict selection of the future dates so that user cannot choose the dates as am passing its input for a query it may end up as error.

Best answer by PaiChung

Not sure if it can be restricted, but you can use a Validator to validate the pick and give feedback to the user.

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
March 25, 2022

Not sure if it can be restricted, but you can use a Validator to validate the pick and give feedback to the user.

14-Alexandrite
March 30, 2022

Hello,

For your information, it was a feature supposed to be here in TwX 9.2 : https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Release_Notes/Whats_New_in_ThingWorx_Platform_9.2.0.html

Unfortunately, it seems not working. I am under discussion with Tech Support but I have good hope that this feature will be (really) here soon.

If you know that you will migrate to a next version, I would consider to wait a bit more for this feature.

Otherwise, Pai solution will do the job. 

Guillaume