Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
CEJW
Contributor
Contributor

Data input validation

I have a variable, vToday, that in my script I set to yesterday's date to give a default value. Now I want to be able to change this to any date value. I have set an input variable object but I need to be able to force the value to a valid date. For instance, if somebody enters 1/4 I need that to be formatted as DD/MM/YYYY i.e. 01/04/2021, preferably updating the vToday variable. Any ideas? 

Labels (1)
1 Reply
QFabian
MVP
MVP

Hi @CEJW , maybe you should think about using an extension for that, i found this for example :

https://developer.qlik.com/garden/569f6139fcd6601422492c48

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.