Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE 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 (2)
1 Reply
QFabian
Specialist III
Specialist III

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

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

 

QFabian